Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Fossati <[email protected]>
  • Loading branch information
thomas-fossati committed May 21, 2024
1 parent 71d79a6 commit cfc4fc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-go-cover.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
name: Coverage
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.20"
- name: Checkout code
uses: actions/checkout@v2
- name: Install mockgen
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ name: ci
on: [push, pull_request]
jobs:

# Test on various OS with default Go version.
# Test on various OS with the specified Go version.
tests:
name: Test on ${{matrix.os}}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
steps:
- uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: Checkout code
uses: actions/checkout@v2
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ name: linters
on: [push, pull_request]
jobs:

# Check linters on latest-ubuntu with default version of Go.
# Check linters on latest-ubuntu with specified version of Go.
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.19"
go-version: "1.20"
- name: Checkout code
uses: actions/checkout@v2
- name: Install golangci-lint
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/veraison/corim

go 1.18
go 1.20

require (
github.com/edgelesssys/sev-snp-measure-go v0.0.0-20240422064034-4360f4dbe14a
Expand Down

0 comments on commit cfc4fc3

Please sign in to comment.