summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPablo Mazzini <pmazzini@gmail.com>2023-02-19 07:10:53 +0000
committerGitHub <noreply@github.com>2023-02-19 07:10:53 +0000
commit57b8dd8f1641a922839d734060546bf23745aa99 (patch)
tree21b9ffa93841bf147ae1bca4c073344f1f15891a
parentde60144f33f85759f7fa958664a53342af3bafa1 (diff)
parentaff6f9b8abe4dbdc7a029efc306624fd35fdc7a6 (diff)
Merge pull request #486 from hugelgupf/workflow-fix
GH workflows: Go support up to 1.20 and fix badge
-rw-r--r--.github/workflows/tests.yml26
-rw-r--r--README.md2
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
diff --git a/README.md b/README.md
index 979bc7a..741cb84 100644
--- a/README.md
+++ b/README.md
@@ -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)