diff --git a/.github/workflows/branch.yaml b/.github/workflows/branch.yaml index 12ef6e1..1a563c2 100644 --- a/.github/workflows/branch.yaml +++ b/.github/workflows/branch.yaml @@ -22,10 +22,10 @@ jobs: - name: Check out code into the Go module directory uses: actions/checkout@v2 - - name: Lint - run: | - go get golang.org/x/lint/golint - golint ./... + - name: golangci-lint + uses: golangci/golangci-lint-action@v3 + with: + version: latest - name: Test run: go test -v ./... @@ -40,4 +40,4 @@ jobs: env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} with: - args: --sarif-file-output=snyk.sarif \ No newline at end of file + args: --sarif-file-output=snyk.sarif