Skip to content

Bump actions/setup-python from 7.0.0 to 7.1.0 #31

Bump actions/setup-python from 7.0.0 to 7.1.0

Bump actions/setup-python from 7.0.0 to 7.1.0 #31

Workflow file for this run

name: MAP CI
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
quality:
name: Python ${{ matrix.python-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12", "3.13"]
steps:
- name: Check out source
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Set up Python
uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install package and development tools
run: |
python -m pip install --upgrade pip
python -m pip install -e '.[dev]'
- name: Static analysis
run: ruff check src tests deploy
- name: Compile source
run: python -m compileall -q src tests deploy
- name: Run unit tests
run: pytest -q
- name: Build distributable
run: python -m build
secret-scan:
name: Secret scan
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Check out full history
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: "1.25.x"
- name: Install Gitleaks CLI
run: go install github.com/zricethezav/gitleaks/v8@v8.30.1
- name: Scan complete Git history
run: '$(go env GOPATH)/bin/gitleaks git --redact --verbose'