Skip to content

Commit ea93a78

Browse files
Bump GitHub action versions (#59)
1 parent de39739 commit ea93a78

File tree

8 files changed

+24
-23
lines changed

8 files changed

+24
-23
lines changed

.github/workflows/_build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ${{ inputs.os }}
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Set up Python ${{ inputs.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ inputs.python-version }}
3232

.github/workflows/_build_doc.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
runs-on: ${{ inputs.os }}
2323
steps:
2424
- name: Checkout repository
25-
uses: actions/checkout@v3
25+
uses: actions/checkout@v4
2626

2727
- name: Set up Python ${{ inputs.python-version }}
28-
uses: actions/setup-python@v4
28+
uses: actions/setup-python@v5
2929
with:
3030
python-version: ${{ inputs.python-version }}
3131

.github/workflows/_codecov.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ jobs:
3232

3333
steps:
3434
- name: Checkout repository
35-
uses: actions/checkout@v3
35+
uses: actions/checkout@v4
3636

3737
- name: Set up Python ${{ matrix.python-version }}
38-
uses: actions/setup-python@v4
38+
uses: actions/setup-python@v5
3939
with:
4040
python-version: ${{ inputs.python-version }}
4141

.github/workflows/_codeql.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ jobs:
3333

3434
steps:
3535
- name: Checkout repository
36-
uses: actions/checkout@v3
36+
uses: actions/checkout@v4
3737

3838
# Initializes the CodeQL tools for scanning.
3939
- name: Initialize CodeQL
40-
uses: github/codeql-action/init@v2
40+
uses: github/codeql-action/init@v3
4141
with:
4242
languages: python
4343
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,7 +50,7 @@ jobs:
5050
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
5151
# If this step fails, then you should remove it and run the build manually (see below)
5252
- name: Autobuild
53-
uses: github/codeql-action/autobuild@v2
53+
uses: github/codeql-action/autobuild@v3
5454

5555
# ℹ️ Command-line programs to run using the OS shell.
5656
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -63,6 +63,6 @@ jobs:
6363
# ./location_of_script_within_repo/buildscript.sh
6464

6565
- name: Perform CodeQL Analysis
66-
uses: github/codeql-action/analyze@v2
66+
uses: github/codeql-action/analyze@v3
6767
with:
6868
category: "/language:python"

.github/workflows/_pre_commit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- uses: pre-commit/action@v3.0.0

.github/workflows/_pypi_publish.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,19 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v3
31+
uses: actions/checkout@v4
3232
with:
3333
fetch-depth: 0 # IMPORTANT: otherwise the current tag does not get fetched and the build version gets worse
3434

35+
- name: Set up Python 3.11
36+
uses: actions/setup-python@v5
37+
with:
38+
python-version: 3.11
39+
40+
- name: Install dependencies
41+
run: |
42+
python -m pip install --upgrade pip
43+
3544
- name: Check git status
3645
run: |
3746
if [[ -z "$(git status --porcelain)" ]]; then
@@ -42,15 +51,6 @@ jobs:
4251
exit 1
4352
fi
4453
45-
- name: Set up Python 3.11
46-
uses: actions/setup-python@v4
47-
with:
48-
python-version: 3.11
49-
50-
- name: Install dependencies
51-
run: |
52-
python -m pip install --upgrade pip
53-
5454
- name: Build the package
5555
run: python -m pip wheel -w dist --no-deps .
5656

.github/workflows/_test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ${{ inputs.os }}
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Set up Python ${{ inputs.python-version }}
29-
uses: actions/setup-python@v4
29+
uses: actions/setup-python@v5
3030
with:
3131
python-version: ${{ inputs.python-version }}
3232

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ __pycache__/
44
*$py.class
55
# C extensions
66
*.so
7+
*.tar.gz
78

89
# Distribution / packaging
910
.Python

0 commit comments

Comments
 (0)