ci(deps): bump anchore/scan-action from 7.0.2 to 7.1.0 #289
Workflow file for this run
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: Quality | |
| on: | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "**.md" | |
| - "docs/**" | |
| - "LICENSE" | |
| permissions: | |
| contents: write # Required for pushing format fixes | |
| security-events: write # Required for uploading code scanning results | |
| pull-requests: write # Required for pushing format fixes | |
| checks: write | |
| jobs: | |
| quality: | |
| name: Code Quality | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Go | |
| uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0 | |
| with: | |
| go-version: "1.23" | |
| cache: true | |
| - name: Run golangci-lint | |
| uses: golangci/golangci-lint-action@8564da7cb3c6866ed1da648ca8f00a258ef0c802 # v6.5.2 | |
| with: | |
| version: latest | |
| args: --timeout=5m --fix | |
| only-new-issues: true | |
| working-directory: . | |
| - name: Commit changes | |
| run: | | |
| if [[ -n "$(git status --porcelain)" ]]; then | |
| git config --global user.name 'GitHub Actions' | |
| git config --global user.email 'github-actions[bot]@users.noreply.github.com' | |
| git add -A | |
| git commit -m "chore: apply linter fixes" | |
| git push | |
| else | |
| echo "No changes to commit" | |
| fi | |
| - name: YAML lint | |
| uses: ibiqlik/action-yamllint@2576378a8e339169678f9939646ee3ee325e845c # v3.1 | |
| with: | |
| file_or_dir: test/e2e/manifests/ | |
| config_file: .yamllint.yml | |
| strict: true | |
| - name: Set up Kubeconform | |
| run: | | |
| KUBECONFORM_VERSION="v0.6.3" | |
| curl -Lo kubeconform.tar.gz "https://github.com/yannh/kubeconform/releases/download/${KUBECONFORM_VERSION}/kubeconform-linux-amd64.tar.gz" | |
| echo "Downloading Kubeconform ${KUBECONFORM_VERSION}..." | |
| tar xf kubeconform.tar.gz | |
| sudo mv kubeconform /usr/local/bin/ | |
| rm kubeconform.tar.gz | |
| - name: Validate Kubernetes manifests | |
| run: | | |
| echo "Running Kubeconform validation..." | |
| kubeconform \ | |
| -kubernetes-version 1.27.0 \ | |
| -ignore-missing-schemas \ | |
| -summary \ | |
| -strict \ | |
| -verbose \ | |
| test/e2e/manifests/*.yaml |