fix incorrect error types in the tests #9
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: Build and push image and chart | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build_push: | |
outputs: | |
version: ${{ steps.build-push-sign.outputs.version }} | |
permissions: | |
contents: read | |
id-token: write | |
name: Build and push | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: asdf-vm/actions/install@v3 | |
with: | |
before_install: | | |
asdf install golang latest | |
asdf global golang latest | |
- run: go test ./... | |
# - run: helm lint --strict ./charts | |
- run: make staticcheck | |
- run: make vulncheck | |
- run: make deadcode | |
- run: | | |
make fmt | |
make generate | |
git diff --exit-code --name-only |