Bump CI deps (#1052)

I noticed a few deprecation warnings so went through and updated all the
"uses" dependencies to the latest.
This commit is contained in:
Mark Street 2024-02-10 16:17:46 +00:00 committed by GitHub
parent 34185eebfa
commit 81c9212460
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 33 additions and 33 deletions

View File

@ -22,17 +22,17 @@ jobs:
- name: Install requirements
run: sudo apt-get install clang-format
- name: Install python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install black
run: pip install black pyyaml mapfile-parser==2.1.4
- name: Clone main repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: false
- name: Format code
run: make format
- uses: stefanzweifel/git-auto-commit-action@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Format code

View File

@ -14,20 +14,20 @@ jobs:
- name: Install requirements
run: sudo apt-get install clang-format
- name: Install python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install black
run: pip install black pyyaml mapfile-parser==2.1.4
- name: Clone main repo (PR)
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: false
- name: Clone main repo
if: github.event_name != 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false

View File

@ -24,7 +24,7 @@ jobs:
- name: Install requirements
run: sudo apt-get update && sudo apt-get install build-essential libsdl2-dev
- name: Clone repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false
@ -39,7 +39,7 @@ jobs:
- name: Install requirements
run: brew install SDL2
- name: Clone repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false
@ -57,7 +57,7 @@ jobs:
powershell Invoke-WebRequest 'https://github.com/libsdl-org/SDL/releases/download/release-2.28.5/SDL2-devel-2.28.5-VC.zip' -OutFile C:\temp-sdl2\SDL2-devel-2.28.5-VC.zip
7z x C:\temp-sdl2\SDL2-devel-2.28.5-VC.zip -oC:\temp-sdl2
- name: Clone repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Build
run: |
cmake -B ${{github.workspace}}/pc -DCMAKE_BUILD_TYPE=Release -DSDL2_PATH=C:\temp-sdl2\SDL2-2.28.5

View File

@ -22,18 +22,18 @@ jobs:
steps:
- name: Clone main repo (PR)
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: false
- name: Clone main repo
if: github.event_name != 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false
- name: Clone dependencies
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: xeeynamo/sotn-decomp-dependencies
ref: saturn
@ -69,18 +69,18 @@ jobs:
steps:
- name: Clone main repo (PR)
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: false
- name: Clone main repo
if: github.event_name != 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false
- name: Clone dependencies
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: xeeynamo/sotn-decomp-dependencies
ref: saturn
@ -97,12 +97,12 @@ jobs:
- name: Extract asm
run: VERSION=saturn make extract
- name: Clone asset repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'gh-functions-saturn'
path: 'gh-functions-saturn'
- name: Set-up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install secondary pre-requirements

View File

@ -22,7 +22,7 @@ jobs:
- name: Install requirements
run: sudo apt-get install gcc-mipsel-linux-gnu
- name: Clone repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false

View File

@ -39,25 +39,25 @@ jobs:
run: sudo apt-get install gcc-mipsel-linux-gnu
- name: Clone main repo (PR)
if: github.event_name == 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
submodules: false
- name: Clone main repo
if: github.event_name != 'pull_request_target'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
submodules: false
- name: Get dependencies
uses: actions/cache@v3
uses: actions/cache@v4
id: get-dependencies
with:
path: 'disks/dependencies'
key: sotn-${{ matrix.dependency }}-deps
- name: Get dependencies (uncached)
if: steps.get-dependencies.outputs.cache-hit != 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: xeeynamo/sotn-decomp-dependencies
ref: ${{ matrix.dependency }}
@ -113,11 +113,11 @@ jobs:
DISCORD_PROGRESS_WEBHOOK: ${{ secrets.DISCORD_PROGRESS_WEBHOOK }}
steps:
- name: Clone main repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: false
- name: Get dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 'disks/dependencies'
key: sotn-${{ matrix.dependency }}-deps
@ -129,7 +129,7 @@ jobs:
- name: Split game data
run: make -j extract
- name: Obtain built binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_${{ matrix.version }}
path: build/${{ matrix.version }}
@ -150,11 +150,11 @@ jobs:
VERSION: ${{ matrix.version }}
steps:
- name: Clone main repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: false
- name: Get dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 'disks/dependencies'
key: sotn-${{ matrix.dependency }}-deps
@ -164,17 +164,17 @@ jobs:
- name: Extract dependencies
run: make extract_disk
- name: Obtain built binaries
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: build_${{ matrix.version }}
path: build/${{ matrix.version }}
- name: Clone asset repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'gh-duplicates'
path: 'gh-duplicates'
- name: Set-up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install secondary pre-requirements