mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 04:59:41 +00:00
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:
parent
34185eebfa
commit
81c9212460
6
.github/workflows/format.yml
vendored
6
.github/workflows/format.yml
vendored
@ -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
|
||||
|
6
.github/workflows/linter.yaml
vendored
6
.github/workflows/linter.yaml
vendored
@ -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
|
||||
|
6
.github/workflows/picci.yaml
vendored
6
.github/workflows/picci.yaml
vendored
@ -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
|
||||
|
18
.github/workflows/saturn-build.yml
vendored
18
.github/workflows/saturn-build.yml
vendored
@ -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
|
||||
@ -111,7 +111,7 @@ jobs:
|
||||
run: python3 tools/function_finder/function_finder_saturn.py > gh-functions-saturn/functions_saturn.md
|
||||
- name: Commit all reports
|
||||
run: |
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git add -A
|
||||
git commit -m 'Update reports' || true
|
||||
|
2
.github/workflows/tool-debugmodule.yaml
vendored
2
.github/workflows/tool-debugmodule.yaml
vendored
@ -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
|
||||
|
28
.github/workflows/validate-and-report.yml
vendored
28
.github/workflows/validate-and-report.yml
vendored
@ -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
|
||||
@ -187,7 +187,7 @@ jobs:
|
||||
make force_symbols
|
||||
make force_extract
|
||||
python3 tools/analyze_calls.py
|
||||
git clean -fdx asm/
|
||||
git clean -fdx asm/
|
||||
- name: Generate function report
|
||||
run: |
|
||||
git checkout config/
|
||||
@ -204,7 +204,7 @@ jobs:
|
||||
cargo run --release -- --threshold .90 --output-file ../../gh-duplicates/duplicates.txt
|
||||
- name: Commit all reports
|
||||
run: |
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.name 'GitHub Action'
|
||||
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||
git add -A
|
||||
git commit -m 'Update reports' || true
|
||||
|
Loading…
Reference in New Issue
Block a user