Require go1.19 for tests

This commit is contained in:
Ingo Oppermann
2023-01-03 07:05:00 +01:00
parent 378a3cd9cf
commit ff6b0d9584

View File

@@ -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