Skip to content

Commit

Permalink
Update github workflows (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
wgordon17 authored Apr 16, 2024
2 parents ef35947 + 8aeca05 commit 0dfa3c1
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/test_lint_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [3.8, 3.9, "3.10", 3.11]
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -31,11 +31,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: 3.11
python-version: 3.12
- name: Install dependencies
run: |
pdm install -dG :all --no-self
Expand All @@ -48,23 +48,22 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up PDM
uses: pdm-project/setup-pdm@v3
uses: pdm-project/setup-pdm@v4
with:
python-version: 3.11
python-version: 3.12
- name: Install dependencies
run: |
pdm install -dG :all --no-self
# Set the `CODEQL-PYTHON` environment variable to the Python executable
# that includes the dependencies
echo "CODEQL_PYTHON=$(pdm info --python)" >> $GITHUB_ENV
- name: Initialize Runtime Code Analysis
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: python
setup-python-dependencies: false
- name: Perform Runtime Code Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
- name: Perform Secure Code Analysis (Secrets)
uses: trufflesecurity/trufflehog@main

0 comments on commit 0dfa3c1

Please sign in to comment.