Skip to content

Bump step-security/harden-runner from 2.8.0 to 2.8.1 #203

Bump step-security/harden-runner from 2.8.0 to 2.8.1

Bump step-security/harden-runner from 2.8.0 to 2.8.1 #203

Workflow file for this run

name: Code testing
on: push
permissions:
contents: read
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
steps:
- name: Harden Runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
with:
egress-policy: audit
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
pwd
ls .
- name: Testing with pytest
run: pytest ./ontouml_vocabulary_lib/tests/