Skip to content

chore(deps): update golangci/golangci-lint-action action to v6 #145

chore(deps): update golangci/golangci-lint-action action to v6

chore(deps): update golangci/golangci-lint-action action to v6 #145

Workflow file for this run

name: Build Package
on:
push:
branches: [main]
pull_request:
branches:
- main
jobs:
gosec:
runs-on: ubuntu-latest
env:
GO111MODULE: on
steps:
- name: Checkout Source
uses: actions/checkout@v4
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: -exclude=G104 ./...
test:
needs: gosec
strategy:
matrix:
go-version: [1.19.x, 1.20.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: go test ./...