updated action versions (#885)
* updated action versions * docker to use go 1.18
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user