Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
  • Loading branch information
fredbi committed Nov 30, 2023
1 parent 537ede3 commit a1a9c01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [push, pull_request]

jobs:
lint:
name: lint
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -32,18 +32,18 @@ jobs:
- name: Run unit tests
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go_version }}
go-version: '${{ matrix.go_version }}'
check-latest: true

- uses: actions/checkout@v3

- run: go test -v -race -coverprofile=coverage-${{ matrix.os }}.${{ matrix.go_version }}.out -covermode=atomic ./...
- run: go test -v -race -coverprofile="coverage-${{ matrix.os }}.${{ matrix.go_version }}.out" -covermode=atomic ./...

- name: Upload coverage to codecov
uses: codecov/codecov-action@v3
with:
files: ./coverage-${{ matrix.os }}.${{ matrix.go_version }}.out
flags: ${{ matrix.go_version }}
os: ${{ matrix.os }}
files: './coverage-${{ matrix.os }}.${{ matrix.go_version }}.out'
flags: '${{ matrix.go_version }}'
os: '${{ matrix.os }}'
fail_ci_if_error: false
verbose: true

0 comments on commit a1a9c01

Please sign in to comment.