Skip to content

Commit bd305df

Browse files
committed
workflow upgrades
1 parent cf612d7 commit bd305df

File tree

3 files changed

+15
-50
lines changed

3 files changed

+15
-50
lines changed

.github/workflows/checks.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Detect changed files
2929
id: changes
30-
uses: dorny/paths-filter@v2
30+
uses: dorny/paths-filter@v3
3131
with:
3232
filters: |
3333
misc:
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@v4
5151

5252
- name: Set up Python
53-
uses: actions/setup-python@v4
53+
uses: actions/setup-python@v5
5454
with:
5555
python-version: 3.11
5656

@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/checkout@v4
7676

7777
- name: Set up Node
78-
uses: actions/setup-node@v3
78+
uses: actions/setup-node@v4
7979
with:
8080
node-version-file: .nvmrc
8181
cache: npm
@@ -98,7 +98,7 @@ jobs:
9898
uses: actions/checkout@v4
9999

100100
- name: Set up Python
101-
uses: actions/setup-python@v4
101+
uses: actions/setup-python@v5
102102
with:
103103
python-version: 3.11
104104

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,36 @@
1-
# For most projects, this workflow file will not need changing; you simply need
2-
# to commit it to your repository.
3-
#
4-
# You may wish to alter this file to override the set of languages analyzed,
5-
# or to provide custom queries or build logic.
6-
#
7-
# ******** NOTE ********
8-
# We have attempted to detect the languages in your repository. Please check
9-
# the `language` matrix defined below to confirm you have the correct set of
10-
# supported CodeQL languages.
11-
#
121
name: "CodeQL"
132

143
on:
154
push:
165
branches: [main]
6+
177
pull_request:
18-
# The branches below must be a subset of the branches above
198
branches: [main]
9+
2010
schedule:
2111
- cron: "24 4 * * 5"
2212

2313
jobs:
2414
analyze:
2515
name: Analyze
2616
runs-on: ubuntu-latest
17+
2718
permissions:
2819
actions: read
2920
contents: read
3021
security-events: write
3122

32-
strategy:
33-
fail-fast: false
34-
matrix:
35-
language: ["python"]
36-
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37-
# Learn more:
38-
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39-
4023
steps:
4124
- name: Checkout repository
42-
uses: actions/checkout@v2
25+
uses: actions/checkout@v4
4326

44-
# Initializes the CodeQL tools for scanning.
4527
- name: Initialize CodeQL
46-
uses: github/codeql-action/init@v1
28+
uses: github/codeql-action/init@v3
4729
with:
48-
languages: ${{ matrix.language }}
49-
# If you wish to specify custom queries, you can do so here or in a config file.
50-
# By default, queries listed here will override any specified in a config file.
51-
# Prefix the list here with "+" to use these queries and those in the config file.
52-
# queries: ./path/to/local/query, your-org/your-repo/queries@main
30+
languages: python
5331

54-
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55-
# If this step fails, then you should remove it and run the build manually (see below)
5632
- name: Autobuild
57-
uses: github/codeql-action/autobuild@v1
58-
59-
# ℹ️ Command-line programs to run using the OS shell.
60-
# 📚 https://git.io/JvXDl
61-
62-
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63-
# and modify them (or add more) to build your code if your project
64-
# uses a compiled language
65-
66-
#- run: |
67-
# make bootstrap
68-
# make release
33+
uses: github/codeql-action/autobuild@v3
6934

7035
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@v1
36+
uses: github/codeql-action/analyze@v3

.github/workflows/docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Set up Python
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: 3.11
2525

@@ -35,7 +35,7 @@ jobs:
3535
mv ./tmp/aethersprite ./html
3636
rm -rf ./tmp
3737
38-
- uses: actions/upload-pages-artifact@v2
38+
- uses: actions/upload-pages-artifact@v3
3939
with:
4040
path: html/
4141

@@ -53,4 +53,4 @@ jobs:
5353

5454
steps:
5555
- id: deployment
56-
uses: actions/deploy-pages@v2
56+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)