Skip to content

Bump the github-actions group with 2 updates #175

Bump the github-actions group with 2 updates

Bump the github-actions group with 2 updates #175

Workflow file for this run

---
name: "Test"
on:
workflow_dispatch:
pull_request:
push:
branches:
- "0.[0-9][0-9]"
jobs:
test:
name: "Test"
runs-on: "ubuntu-24.04"
steps:
- name: "Check out repository"
uses: "actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
- name: "Set up Python"
uses: "actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548" # v6.1.0
with:
python-version: "3.12"
- name: "Get pip cache dir"
id: "pip-cache"
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
- name: "Cache pip packages"
uses: "actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb" # v5.0.1
with:
path: "${{ steps.pip-cache.outputs.dir }}"
key: "${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}"
restore-keys: |
${{ runner.os }}-pip-
- name: "Install requirements"
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: "Run build test"
run: |
make test
- name: "Linkcheck"
run: |
make linkcheck
lint:
name: "Linting"
runs-on: "ubuntu-24.04"
steps:
- uses: "actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8" # v6.0.1
- uses: "actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548" # v6.1.0
- uses: "pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd" #v3.0.1