Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ jobs:
python: ["3.10", "3.12"]

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python }}
cache: pip
Expand Down Expand Up @@ -67,9 +67,9 @@ jobs:
needs: test

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -86,7 +86,7 @@ jobs:
$hash = (Get-FileHash dist\UnityScraper.exe -Algorithm SHA256).Hash.ToLower()
"$hash *UnityScraper.exe" | Set-Content dist\UnityScraper.exe.sha256

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: UnityScraper-Windows-x64
path: |
Expand All @@ -100,9 +100,9 @@ jobs:
needs: test

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
set -e
test "$status" -eq 124

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: UnityScraper-Linux-x86_64
path: |
Expand All @@ -147,9 +147,9 @@ jobs:
needs: test

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -165,7 +165,7 @@ jobs:
test -x dist/UnityScraper.app/Contents/MacOS/UnityScraper
plutil -lint dist/UnityScraper.app/Contents/Info.plist

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: UnityScraper-macOS-arm64
path: |
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Generate software bill of materials
run: python scripts/generate_sbom.py

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: release-sbom
path: UnityScraper-SBOM.cdx.json
Expand All @@ -45,9 +45,9 @@ jobs:
needs: validate

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -67,7 +67,7 @@ jobs:
$hash = (Get-FileHash UnityScraper-Windows-x64.zip -Algorithm SHA256).Hash.ToLower()
"$hash *UnityScraper-Windows-x64.zip" | Set-Content UnityScraper-Windows-x64.zip.sha256

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: release-windows
path: |
Expand All @@ -79,9 +79,9 @@ jobs:
needs: validate

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -104,7 +104,7 @@ jobs:
- name: Build Linux release
run: ./build_linux.sh

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: release-linux
path: |
Expand All @@ -116,16 +116,16 @@ jobs:
needs: validate

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
- name: Install build dependencies
run: python -m pip install -r requirements.txt pyinstaller
- name: Build macOS release
run: ./build_macos.sh
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: release-macos
path: |
Expand All @@ -137,14 +137,14 @@ jobs:
needs: [validate, windows, linux, macos]

steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
pattern: release-*
path: release
merge-multiple: true

- name: Attest release artifacts
uses: actions/attest-build-provenance@v2
uses: actions/attest-build-provenance@v4
with:
subject-path: "release/*"

Expand Down
8 changes: 4 additions & 4 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest>=8.0
ruff>=0.5
mypy>=1.10
pyinstaller>=6.0
pytest>=9.1.1
ruff>=0.16.0
mypy>=2.3.0
pyinstaller>=6.21.0