[improvement] bump golangci-lint, address linting comments and remove endpoint pkg #317
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: tests | |
| on: | |
| merge_group: | |
| pull_request_target: | |
| branches: [ '*' ] | |
| push: | |
| branches: | |
| - "main" | |
| concurrency: | |
| group: e2e-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: ./go.mod | |
| cache: false | |
| - env: | |
| LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }} | |
| run: | | |
| export LINODE_TOKEN=${LINODE_TOKEN:?Token not set or empty} | |
| make \ | |
| test-integration | |
| e2e: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: ./go.mod | |
| cache: false | |
| - env: | |
| LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }} | |
| run: | | |
| make test-e2e |