Skip to content

Commit

Permalink
Update CI workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoki Sugiura <[email protected]>
  • Loading branch information
chez-shanpu committed Jul 29, 2024
1 parent 38bfbf7 commit 3e75bcb
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,26 @@ on:
push:
branches:
- 'main'
env:
go-version: "1.22"

jobs:
test:
strategy:
matrix:
go-version: [ 1.22 ]
platform: [ ubuntu-22.04 ]
name: Small tests
runs-on: ubuntu-22.04
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.go-version }}
go-version: ${{ matrix.go-version }}
- uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: make test

0 comments on commit 3e75bcb

Please sign in to comment.