mirror of
https://github.com/norouter/norouter.git
synced 2025-12-24 13:17:54 +08:00
CI: update actions
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
This commit is contained in:
7
.github/dependabot.yml
vendored
7
.github/dependabot.yml
vendored
@@ -7,3 +7,10 @@ updates:
|
||||
open-pull-requests-limit: 10
|
||||
reviewers:
|
||||
- AkihiroSuda
|
||||
- package-ecosystem: github-actions
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: weekly
|
||||
open-pull-requests-limit: 10
|
||||
reviewers:
|
||||
- AkihiroSuda
|
||||
|
||||
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@@ -9,14 +9,14 @@ jobs:
|
||||
main:
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, macos-10.15]
|
||||
os: [ubuntu-20.04, macos-11]
|
||||
runs-on: ${{ matrix.os }}
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/setup-go@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18.x
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: go/src/github.com/norouter/norouter
|
||||
- name: "Run unit tests"
|
||||
@@ -25,28 +25,28 @@ jobs:
|
||||
go mod verify
|
||||
go test -covermode=atomic -race -v github.com/norouter/norouter/...
|
||||
- name: "Install dependencies for running integration tests"
|
||||
if: matrix.os != 'macos-10.15'
|
||||
if: matrix.os != 'macos-11'
|
||||
run: sudo apt-get install -y vde2
|
||||
- name: "Integration: test-agent.sh"
|
||||
if: matrix.os != 'macos-10.15'
|
||||
if: matrix.os != 'macos-11'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: ./integration/test-agent.sh
|
||||
- name: "Integration: test-integration.sh"
|
||||
if: matrix.os != 'macos-10.15'
|
||||
if: matrix.os != 'macos-11'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: DEBUG=1 ./integration/test-integration.sh
|
||||
- name: "FYI: the maximum possible throughput of docker exec"
|
||||
if: matrix.os != 'macos-10.15'
|
||||
if: matrix.os != 'macos-11'
|
||||
working-directory: go/src/github.com/norouter/norouter
|
||||
run: ./integration/show-docker-exec-max-throughput.sh
|
||||
cross:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/setup-go@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18.x
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: go/src/github.com/norouter/norouter
|
||||
- name: "Cross-compile binaries"
|
||||
|
||||
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@@ -11,10 +11,10 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
timeout-minutes: 20
|
||||
steps:
|
||||
- uses: actions/setup-go@v2
|
||||
- uses: actions/setup-go@v3
|
||||
with:
|
||||
go-version: 1.18.x
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
path: go/src/github.com/norouter/norouter
|
||||
- name: "Compile binaries"
|
||||
|
||||
Reference in New Issue
Block a user