fix: upgrade x/tools to v0.21.0 and use Go 1.21 in release workflow #1828
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: Debricked | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| scan: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: '>=1.21' | |
| - name: Pull Supported Formats | |
| run: | | |
| cd cmd/debricked | |
| go generate -v -x | |
| - uses: GuillaumeFalourd/assert-command-line-output@v2.3 | |
| with: | |
| command_line: go run cmd/debricked/main.go scan -t ${{ secrets.DEBRICKED_TOKEN }} -e "pkg/**" -e "test/**" -e "**/testdata/**" | |
| contains: AUTOMATION RULE | |
| expected_result: PASSED |