use go 1.19 in tests
@@ -5,7 +5,7 @@ jobs:
name: runner / shellcheck
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: spellcheck
uses: reviewdog/action-shellcheck@v1
with:
@@ -21,7 +21,7 @@ jobs:
name: runner / misspell
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: misspell
uses: reviewdog/action-misspell@v1
with:
@@ -37,7 +37,7 @@ jobs:
name: runner / alex
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
- name: alex
uses: reviewdog/action-alex@v1
with:
@@ -47,7 +47,10 @@ jobs:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-go@v3
+ with:
+ go-version: '1.19'
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2
with:
@@ -57,7 +60,10 @@ jobs:
name: runner / gofmt
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-go@v3
+ with:
+ go-version: '1.19'
- run: gofmt -w -s $(find . -not -path "*/vendor/*" -name "*.go")
- uses: reviewdog/action-suggester@v1
with:
@@ -67,8 +73,8 @@ jobs:
name: runner / shfmt
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- - uses: actions/setup-go@v2
+ - uses: actions/checkout@v3
+ - uses: actions/setup-go@v3
with:
go-version: '1.19'
- run: go install mvdan.cc/sh/v3/cmd/shfmt@latest
