Fix project context loss on import for IPSec VPN service, session, lo… #5923
This file contains hidden or 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: golangci-lint | |
| on: | |
| pull_request: | |
| paths-ignore: | |
| - README.md | |
| push: | |
| paths-ignore: | |
| - README.md | |
| schedule: | |
| - cron: 0 0 * * 0 | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup Go | |
| uses: ./.github/actions/setup-go | |
| - name: Download Go Modules | |
| run: go mod download | |
| - name: Build | |
| run: go build -v . | |
| - name: Run Linters | |
| uses: ./.github/actions/golangci-lint | |
| with: | |
| only-new-issues: true | |
| - name: Check provider.go sorting | |
| run: ./scripts/check_object_sorting.sh |