Skip to content

Commit

Permalink
Upgraded github actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
dop251 committed Oct 9, 2024
1 parent 21e3355 commit cf6c9a4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check formatting
run: diff -u <(echo -n) <(gofmt -d .)
if: ${{ matrix.go-version == '1.x' }}
- name: Run go vet
run: go vet ./...
- name: Run staticcheck
uses: dominikh/[email protected].0
uses: dominikh/[email protected].1
with:
version: "2023.1.2"
version: "2024.1.1"
install-go: false
cache-key: ${{ matrix.go-version }}
if: ${{ matrix.go-version == '1.x' }}
Expand Down

0 comments on commit cf6c9a4

Please sign in to comment.