Skip to content

Add webhook to prevent SubnetSet/Subnet deletion with stale SubnetPor… #38

Add webhook to prevent SubnetSet/Subnet deletion with stale SubnetPor…

Add webhook to prevent SubnetSet/Subnet deletion with stale SubnetPor… #38

Workflow file for this run

name: Makefile CI
on:
push:
branches:
- main
- 'v[0-9].[0-9]+.[0-9]+'
pull_request:
branches:
- main
- 'v[0-9].[0-9]+.[0-9]+'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.21
- name: Run golangci-lint
run: make golangci
- name: Run build
run: make build
- name: Run test
run: make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./.coverage/coverage-unit.out
flags: unit-tests
name: codecov-unit-test