Skip to content

Commit 3ce5035

Browse files
authored
Update workflow actions versions to fix GitHub warnings (chocolate-doom#1664)
* Update actions/upload-artifact version to fix GitHub warnings * Update actions/checkout version, don't install libsdl2-image-dev
1 parent 0b6b6f7 commit 3ce5035

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/cpp-linter.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
compiler: [clang]
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Install dependencies
21-
run: sudo apt-get update && sudo apt-get install libfluidsynth-dev libpng-dev libsamplerate0-dev libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-net-dev ninja-build
21+
run: sudo apt-get update && sudo apt-get install libfluidsynth-dev libpng-dev libsamplerate0-dev libsdl2-dev libsdl2-mixer-dev libsdl2-net-dev ninja-build
2222
- name: Run cmake to generate compilation database
2323
run: cmake -S . -B . -G Ninja -DCMAKE_EXPORT_COMPILE_COMMANDS=1
2424
- uses: cpp-linter/cpp-linter-action@v2

.github/workflows/cppcheck.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Install dependencies
1616
run: sudo apt-get update && sudo apt-get install cppcheck
1717

18-
- uses: actions/checkout@v2
18+
- uses: actions/checkout@v4
1919

2020
- name: Run cppcheck
2121
env:

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ jobs:
134134
135135
- name: Upload artifacts
136136
if: ${{ matrix.config.artifacts }}
137-
uses: actions/upload-artifact@v3
137+
uses: actions/upload-artifact@v4
138138
with:
139139
name: ${{ matrix.config.name }}
140140
path: ${{ matrix.config.pkg-path }}

0 commit comments

Comments
 (0)