Skip to content

Commit

Permalink
Update gnovm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moul authored Sep 21, 2023
1 parent 5c43c20 commit a89a30a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/gnovm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version: # two latest versions
goversion: # two latest versions
- "1.20.x"
- "1.21.x"
goenv: # TODO: replace with pairs, so it's easier to read in the GH interface.
Expand All @@ -36,7 +36,7 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
goversion: ${{ matrix.goversion }}
- uses: actions/checkout@v4
- name: go install
working-directory: gnovm
Expand All @@ -46,7 +46,7 @@ jobs:
strategy:
fail-fast: false
matrix:
go-version:
goversion:
- "1.20.x"
- "1.21.x"
args:
Expand All @@ -64,15 +64,15 @@ jobs:
steps:
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
goversion: ${{ matrix.goversion }}
- uses: actions/checkout@v4
- name: test
working-directory: gnovm
run: |
export GOPATH=$HOME/go
export GOTEST_FLAGS="-v -p 1 -timeout=30m -coverprofile=coverage.out -covermode=atomic"
make ${{ matrix.args }}
- if: ${{ runner.os == 'Linux' && matrix["go-version"] == "1.21.x" }}
- if: ${{ runner.os == 'Linux' && matrix.goversion == "1.21.x" }}
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
Expand Down

0 comments on commit a89a30a

Please sign in to comment.