Skip to content

Remove Status field from nse, and ns #870

Remove Status field from nse, and ns

Remove Status field from nse, and ns #870

Workflow file for this run

---
name: ci
on:
pull_request:
push:
branches:
- 'release/**'
jobs:
yamllint:
uses: networkservicemesh/.github/.github/workflows/yamllint.yaml@main
shellcheck:
uses: networkservicemesh/.github/.github/workflows/shellcheck.yaml@main
build-and-test:
uses: networkservicemesh/.github/.github/workflows/build-and-test.yaml@main
with:
os: '["ubuntu-latest", "macos-latest", "windows-latest"]'
golangci-lint:
uses: networkservicemesh/.github/.github/workflows/golangci-lint.yaml@main
restrict-nsm-deps:
uses: networkservicemesh/.github/.github/workflows/restrict-nsm-deps.yaml@main
with:
allowed_repositories: "api, sdk"
checkgomod:
uses: networkservicemesh/.github/.github/workflows/checkgomod.yaml@main
exclude-replace:
uses: networkservicemesh/.github/.github/workflows/exclude-replace.yaml@main
gogenerate:
name: Check generated files
runs-on: ubuntu-latest
steps:
- name: Setup envs
run: |
echo GOPATH=$GITHUB_WORKSPACE >> $GITHUB_ENV
echo GO111MODULE=on >> $GITHUB_ENV
echo $GITHUB_WORKSPACE/bin >> $GITHUB_PATH
- uses: actions/checkout@v2
with:
path: ${{ github.workspace }}/src/github.com/${{ github.repository }}
- uses: actions/setup-go@v1
with:
go-version: 1.20
- name: Generate files
run: |
go generate ./pkg/tools/k8s/gen.go
working-directory: ${{ github.workspace }}/src/github.com/${{ github.repository }}
- name: Check for changes in generated code
run: |
git diff --name-only --exit-code ./pkg/tools/k8s/client || (echo "Rerun go generate ./... locally and resubmit" && exit -1)
working-directory: ${{ github.workspace }}/src/github.com/${{ github.repository }}