Require go1.19 for tests
This commit is contained in:
parent
378a3cd9cf
commit
ff6b0d9584
1 changed files with 17 additions and 17 deletions
34
.github/workflows/go-tests.yml
vendored
34
.github/workflows/go-tests.yml
vendored
|
|
@ -3,20 +3,20 @@ name: tests
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 2
|
fetch-depth: 2
|
||||||
- uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
with:
|
with:
|
||||||
go-version: '1.18'
|
go-version: "1.19"
|
||||||
- name: Run coverage
|
- name: Run coverage
|
||||||
run: go test -coverprofile=coverage.out -covermode=atomic -v ./...
|
run: go test -coverprofile=coverage.out -covermode=atomic -v ./...
|
||||||
- name: Upload coverage to Codecov
|
- name: Upload coverage to Codecov
|
||||||
uses: codecov/codecov-action@v2
|
uses: codecov/codecov-action@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
files: coverage.out
|
files: coverage.out
|
||||||
flags: unit-linux
|
flags: unit-linux
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue