Skip to content

Commit

Permalink
ci: upgrade actions, lock redis version
Browse files Browse the repository at this point in the history
  • Loading branch information
kamikazechaser committed Dec 7, 2023
1 parent d29f0e2 commit 6a06f05
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ jobs:
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
image: redis:7
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: Build core module
run: go build -v ./...
Expand All @@ -44,20 +45,21 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
go-version: [1.18.x]
go-version: [1.20.x, 1.21.x]
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
image: redis:7
ports:
- 6379:6379
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
cache: false

- name: Build tools module
run: cd tools && go build -v ./... && cd ..
Expand Down

0 comments on commit 6a06f05

Please sign in to comment.