chore: bump actions/checkout from 5 to 6 #6
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: Test Tier 1 Security Pattern | |
| on: | |
| workflow_dispatch: | |
| pull_request: | |
| paths: | |
| - 'examples/tier1-maximum-security.yml' | |
| - '.github/workflows/test-tier1.yml' | |
| permissions: | |
| contents: read | |
| jobs: | |
| analyze: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Lint Code | |
| run: pipx run ruff check --output-format=json . > lint.json || true | |
| - uses: clouatre-labs/setup-goose-action@v1 | |
| - name: AI Analysis | |
| env: | |
| GOOGLE_API_KEY: ${{ secrets.GEMINI_API_KEY }} | |
| run: | | |
| # Configure Goose | |
| mkdir -p ~/.config/goose | |
| cat > ~/.config/goose/config.yaml <<EOF | |
| GOOSE_PROVIDER: google | |
| GOOSE_MODEL: gemini-2.5-flash | |
| keyring: false | |
| EOF | |
| # Run analysis | |
| echo "Summarize these linting issues:" > prompt.txt | |
| cat lint.json >> prompt.txt | |
| goose run --instructions prompt.txt --no-session --quiet > analysis.md | |
| - uses: actions/upload-artifact@v5 | |
| with: | |
| name: ai-analysis | |
| path: analysis.md |