Skip to content

Commit 0dfa3c1

Browse files
authored
Update github workflows (#10)
2 parents ef35947 + 8aeca05 commit 0dfa3c1

1 file changed

Lines changed: 11 additions & 12 deletions

File tree

.github/workflows/test_lint_scan.yml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
python-version: [3.8, 3.9, "3.10", 3.11]
12+
python-version: [3.8, 3.9, "3.10", 3.11, 3.12]
1313

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

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
- name: Set up PDM
19-
uses: pdm-project/setup-pdm@v3
19+
uses: pdm-project/setup-pdm@v4
2020
with:
2121
python-version: ${{ matrix.python-version }}
2222
- name: Install dependencies
@@ -31,11 +31,11 @@ jobs:
3131
runs-on: ubuntu-latest
3232

3333
steps:
34-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3535
- name: Set up PDM
36-
uses: pdm-project/setup-pdm@v3
36+
uses: pdm-project/setup-pdm@v4
3737
with:
38-
python-version: 3.11
38+
python-version: 3.12
3939
- name: Install dependencies
4040
run: |
4141
pdm install -dG :all --no-self
@@ -48,23 +48,22 @@ jobs:
4848
runs-on: ubuntu-latest
4949

5050
steps:
51-
- uses: actions/checkout@v3
51+
- uses: actions/checkout@v4
5252
- name: Set up PDM
53-
uses: pdm-project/setup-pdm@v3
53+
uses: pdm-project/setup-pdm@v4
5454
with:
55-
python-version: 3.11
55+
python-version: 3.12
5656
- name: Install dependencies
5757
run: |
5858
pdm install -dG :all --no-self
5959
# Set the `CODEQL-PYTHON` environment variable to the Python executable
6060
# that includes the dependencies
6161
echo "CODEQL_PYTHON=$(pdm info --python)" >> $GITHUB_ENV
6262
- name: Initialize Runtime Code Analysis
63-
uses: github/codeql-action/init@v2
63+
uses: github/codeql-action/init@v3
6464
with:
6565
languages: python
66-
setup-python-dependencies: false
6766
- name: Perform Runtime Code Analysis
68-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@v3
6968
- name: Perform Secure Code Analysis (Secrets)
7069
uses: trufflesecurity/trufflehog@main

0 commit comments

Comments
 (0)