Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 #157
Workflow file for this run
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: Continuous Integration | |
on: | |
push: | |
branches-ignore: | |
- main | |
env: | |
# GitHub Actions Runner is not a tty therefore lots of tools disable colour | |
# The webview supports ANSI colour so we try to add colour support here | |
#| env var | supported by | | |
FORCE_COLOR: "true" # nox,pip,pytest,mypy | |
PRE_COMMIT_COLOR: "always" # pre-commit | |
jobs: | |
static-analysis: | |
runs-on: ubuntu-latest | |
name: Static Analysis | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
unit-tests: | |
runs-on: ubuntu-latest | |
name: Unit Tests | |
strategy: | |
matrix: | |
python-version: | |
- "3.8" | |
- "3.9" | |
- "3.10" | |
- "3.11" | |
- "3.12" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
cache: pip | |
cache-dependency-path: pyproject.toml | |
- run: python -m pip install --upgrade --no-input nox | |
- run: python -Im nox --python ${{matrix.python-version}} | |
github-actions-integration-tests: | |
runs-on: ubuntu-latest | |
name: GitHub Actions Integration Tests | |
permissions: | |
id-token: write | |
security-events: write | |
actions: read | |
contents: read | |
environment: main | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: arn:aws:iam::531249009620:role/Deploy | |
aws-region: eu-west-1 | |
- uses: ./ | |
with: | |
policies: tests/data/policy_checks/policies/ | |
result: results/iam-sarif-report.sarif | |
- uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: results |