mirror of https://github.com/spf13/afero.git
github: Bump GitHub actions versions
This commit is contained in:
parent
eb6bef036d
commit
5c4385aa20
|
@ -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 '')"
|
||||||
|
|
Loading…
Reference in New Issue