Skip to content

Commit

Permalink
fixed use of action
Browse files Browse the repository at this point in the history
  • Loading branch information
1nv8rzim committed Aug 25, 2023
1 parent af4be21 commit 871c960
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,21 @@ name: Go Lint

on: [push, pull_request]

permissions:
contents: read

jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v2

- name: Set up Go
uses: actions/setup-go@v2
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: 1.20

- name: Run golangci-lint
uses: golangci/golangci-lint-action@v2
go-version: '1.20'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.42.0
args: --issues-exit-code=0
working-directory: .
version: v1.54
args: --issues-exit-code=0

0 comments on commit 871c960

Please sign in to comment.