Skip to content

Only reset network if a network configurator is used (#874) #2354

Only reset network if a network configurator is used (#874)

Only reset network if a network configurator is used (#874) #2354

Workflow file for this run

name: Unit tests
on:
pull_request:
push:
branches:
- main
concurrency:
group: tests-${{ github.head_ref || github.ref }}-${{ github.repository }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- uses: actions/cache@v4
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-test-go-${{ hashFiles('**/go.sum') }}
- name: Run tests
run: make unit-tests