Add E2E test to verify roles/bindings are deleted #440
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint code | |
on: | |
push: | |
branches: | |
- 'main' | |
- 'release-*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
lint_code: | |
name: Run golangci-lint and gosec | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup Golang | |
uses: actions/setup-go@v5.0.0 | |
with: | |
go-version-file: './go.mod' | |
- name: "run gosec" | |
run: | | |
cd $GITHUB_WORKSPACE | |
make gosec | |
- name: "run golangci-lint" | |
run: | | |
cd $GITHUB_WORKSPACE | |
make lint |