diff options
-rw-r--r-- | .github/workflows/tests.yml | 26 | ||||
-rw-r--r-- | README.md | 2 |
2 files changed, 9 insertions, 19 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2777592..deb4af0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -7,12 +7,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - go: ['1.13', '1.14', '1.15', '1.16'] + go: ['1.17', '1.18', '1.19', '1.20'] env: GO111MODULE: on steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 with: stable: false go-version: ${{ matrix.go }} @@ -28,22 +28,17 @@ jobs: fi done - name: report coverage to codecov - uses: codecov/codecov-action@v1 - with: - files: coverage.txt - flags: unittests - fail_ci_if_error: true - verbose: true + uses: codecov/codecov-action@v3 integration-tests: runs-on: ubuntu-latest strategy: matrix: - go: ['1.13', '1.14', '1.15', '1.16'] + go: ['1.17', '1.18', '1.19', '1.20'] env: GO111MODULE: on steps: - - uses: actions/checkout@v2 - - uses: actions/setup-go@v2 + - uses: actions/checkout@v3 + - uses: actions/setup-go@v3 with: stable: false go-version: ${{ matrix.go }} @@ -62,9 +57,4 @@ jobs: fi done - name: report coverage to codecov - uses: codecov/codecov-action@v1 - with: - files: coverage.txt - flags: integtests - fail_ci_if_error: true - verbose: true + uses: codecov/codecov-action@v3 @@ -1,5 +1,5 @@ # dhcp -[![Build Status](https://img.shields.io/github/workflow/status/insomniacslk/dhcp/Tests/master)](https://github.com/insomniacslk/dhcp/actions?query=branch%3Amaster) +[![Build Status](https://img.shields.io/github/actions/workflow/status/insomniacslk/dhcp/tests.yml?branch=master)](https://github.com/insomniacslk/dhcp/actions?query=branch%3Amaster) [![GoDoc](https://godoc.org/github.com/insomniacslk/dhcp?status.svg)](https://godoc.org/github.com/insomniacslk/dhcp) [![codecov](https://codecov.io/gh/insomniacslk/dhcp/branch/master/graph/badge.svg)](https://codecov.io/gh/insomniacslk/dhcp) [![Go Report Card](https://goreportcard.com/badge/github.com/insomniacslk/dhcp)](https://goreportcard.com/report/github.com/insomniacslk/dhcp) |