github: Bump GitHub actions versions

This commit is contained in:
Bjørn Erik Pedersen 2023-11-28 10:37:08 +01:00
parent eb6bef036d
commit 5c4385aa20
1 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ jobs:
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}
steps: steps:
- name: Install Go - name: Install Go
uses: actions/setup-go@v3 uses: actions/setup-go@v4
with: with:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- name: Install staticcheck - name: Install staticcheck
@ -25,7 +25,7 @@ jobs:
run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH run: echo "$(go env GOPATH)/bin" >> $GITHUB_PATH
shell: bash shell: bash
- name: Checkout code - name: Checkout code
uses: actions/checkout@v1 uses: actions/checkout@v3
- name: Fmt - name: Fmt
if: matrix.platform != 'windows-latest' # :( if: matrix.platform != 'windows-latest' # :(
run: "diff <(gofmt -d .) <(printf '')" run: "diff <(gofmt -d .) <(printf '')"