Skip to content

Commit 97a10bc

Browse files
authored
Merge pull request #732 from gaphor/dependabot/github_actions/actions/upload-artifact-4.0.0
Bump actions/upload-artifact from 3.1.3 to 4.0.0
2 parents e22548e + c568f8d commit 97a10bc

File tree

4 files changed

+179
-190
lines changed

4 files changed

+179
-190
lines changed

.github/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
poetry==1.7.0
1+
poetry==1.7.1

.github/workflows/build.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ jobs:
4141
strategy:
4242
matrix:
4343
python-version: ['3.9', '3.10', '3.11', '3.12']
44-
gtk-version: ['4.0']
45-
name: build (python ${{ matrix.python-version }}, gtk ${{ matrix.gtk-version }})
44+
name: build python ${{ matrix.python-version }}
4645
outputs:
4746
targz: gaphas-${{ steps.meta.outputs.version }}.tar.gz
4847
wheel: gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
@@ -66,7 +65,7 @@ jobs:
6665
- name: Install Ubuntu Dependencies
6766
run: |
6867
sudo apt update -qq
69-
sudo apt install -qq --no-install-recommends gir1.2-gtk-${{ matrix.gtk-version }} libgirepository1.0-dev
68+
sudo apt install -qq --no-install-recommends gir1.2-gtk-4.0 libgirepository1.0-dev
7069
- name: Install Poetry
7170
run: |
7271
pipx install --python python${{ matrix.python-version }} --pip-args=--constraint=.github/constraints.txt poetry
@@ -77,25 +76,25 @@ jobs:
7776
- name: Install dependencies
7877
run: poetry install --no-interaction
7978
- name: Test
80-
run: TEST_GTK_VERSION=${{ matrix.gtk-version }} xvfb-run poetry run pytest --cov=gaphas
79+
run: xvfb-run poetry run pytest --cov=gaphas
8180
- name: Code Climate Coverage Action
8281
uses: paambaati/codeclimate-action@a1831d7162ea1fbc612ffe5fb3b90278b7999d59 # v5.0.0
8382
env:
8483
CC_TEST_REPORTER_ID: 195e9f83022747c8eefa3ec9510dd730081ef111acd99c98ea0efed7f632ff8a
8584
with:
8685
coverageCommand: poetry run coverage xml
8786
- name: Create Source Dist and Wheel
88-
if: ${{ matrix.python_version == env.python_version }}
87+
if: ${{ matrix.python-version == env.python-version }}
8988
run: poetry build
90-
- name: Upload gaphas-${{ steps.meta.output.version }}.tar.gz
91-
if: ${{ matrix.python_version == env.python_version }}
92-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
89+
- name: Upload gaphas-${{ steps.meta.outputs.version }}.tar.gz
90+
if: ${{ matrix.python-version == env.python-version }}
91+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
9392
with:
9493
name: gaphas-${{ steps.meta.outputs.version }}.tar.gz
9594
path: dist/gaphas-${{ steps.meta.outputs.version }}.tar.gz
9695
- name: Upload gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
97-
if: ${{ matrix.python_version == env.python_version }}
98-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
96+
if: ${{ matrix.python-version == env.python-version }}
97+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
9998
with:
10099
name: gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl
101100
path: dist/gaphas-${{ steps.meta.outputs.version }}-py3-none-any.whl

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6464
# format to the repository Actions tab.
6565
- name: "Upload artifact"
66-
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
66+
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
6767
with:
6868
name: SARIF file
6969
path: results.sarif

0 commit comments

Comments
 (0)