Skip to content

Commit f6acad9

Browse files
committed
Add actionlint and update codeql workflow
1 parent 31b0dc5 commit f6acad9

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ jobs:
2626

2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v3
29+
uses: actions/checkout@v4
3030

3131
# Initializes the CodeQL tools for scanning.
3232
- name: Initialize CodeQL
33-
uses: github/codeql-action/init@v2
33+
uses: github/codeql-action/init@v3
3434
with:
3535
languages: python
3636
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
3737
queries: security-and-quality
3838

3939
- name: Perform CodeQL Analysis
40-
uses: github/codeql-action/analyze@v2
40+
uses: github/codeql-action/analyze@v3

.pre-commit-config.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ repos:
88
- id: end-of-file-fixer
99
- id: trailing-whitespace
1010

11+
- repo: https://github.com/rhysd/actionlint
12+
rev: v1.7.7
13+
hooks:
14+
- id: actionlint-system
15+
1116
- repo: https://github.com/psf/black
1217
rev: 25.1.0
1318
hooks:

0 commit comments

Comments
 (0)