updated action versions (#885)

* updated action versions

* docker to use go 1.18
This commit is contained in:
David Zhao
2022-08-06 13:40:40 -07:00
committed by GitHub
parent 0918670318
commit 4222f51758
4 changed files with 17 additions and 40 deletions
+6 -13
View File
@@ -11,24 +11,17 @@ jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/go/bin
~/.cache
key: livekit-server
- uses: shogo82148/actions-setup-redis@v1.10.3
- uses: actions/checkout@v3
- uses: shogo82148/actions-setup-redis@v1
with:
redis-version: '6.x'
auto-start: true
- run: redis-cli ping
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v3
with:
go-version: 1.17
go-version: '>=1.17'
- name: Set up gotestfmt
run: go install github.com/haveyoudebuggedit/gotestfmt/v2/cmd/gotestfmt@latest
@@ -44,13 +37,13 @@ jobs:
go mod tidy
- name: Mage Build
uses: magefile/mage-action@v1
uses: magefile/mage-action@v2
with:
version: latest
args: build
- name: Static Check
uses: dominikh/staticcheck-action@v1.2.0
uses: dominikh/staticcheck-action@v1
with:
version: "2022.1"