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
2 changes: 1 addition & 1 deletion .github/workflows/api-contract.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,25 @@ jobs:
name: Build + push (${{ github.event_name }})
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# buildx is the multi-platform driver. qemu provides the cross-arch
# emulation that lets the amd64 GitHub-hosted runner produce an
# arm64 image. The cost is roughly +2x build time on the arm64
# leg vs native; acceptable for the release-only publish cadence.
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
uses: docker/setup-qemu-action@v4
with:
platforms: linux/arm64

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

# GHCR push needs the actor's PAT — for actions/github-token, the
# token's `packages: write` permission is granted by the job-level
# `permissions:` block above.
- name: Log in to GHCR
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand All @@ -103,7 +103,7 @@ jobs:
# — a push or workflow_dispatch from main cannot claim it.
- name: Compute image metadata (tags + labels)
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -130,7 +130,7 @@ jobs:
# rate; tag rebuilds still amortise across workflow_dispatch.
- name: Build + push
id: build
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
file: docker/Dockerfile.prod
Expand All @@ -153,7 +153,7 @@ jobs:
# not the mutable tag — so a future re-tag doesn't invalidate the
# signature).
- name: Install cosign
uses: sigstore/cosign-installer@v3
uses: sigstore/cosign-installer@v4
with:
cosign-release: 'v2.4.1'

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
working-directory: docs

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

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
# Astro 6 requires Node >=22.12; 20 trips an EBADENGINE on `npm
# ci` and a hard "Node.js v20 is not supported by Astro!" on
Expand All @@ -59,7 +59,7 @@ jobs:
# because docs-deploy-trigger.yml is the production path.
- name: Upload build artifact
if: success()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: docs-dist
path: docs/dist/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-screenshots-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ jobs:
working-directory: docs

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

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
# Astro 6 requires Node >=22.12; mirrors the bump in
# docs-build.yml that landed with the docs astro+starlight
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs-screenshots-capture.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ jobs:
# PR's base branch (effectively `main`). All `npm ci` postinstall
# hooks run against this tree, NEVER against the PR head.
- name: Checkout trusted code from base branch
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
ref: ${{ github.event.pull_request.base.sha || github.sha }}
path: trusted
Expand All @@ -150,15 +150,15 @@ jobs:
# canonical shape means a future change to the gate (e.g. opt-in
# fork support) doesn't silently break the push.
- name: Checkout PR head (docker stack + screenshot output dir)
uses: actions/checkout@v4
uses: actions/checkout@v7
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.head_ref || github.ref_name }}
path: pr-head
persist-credentials: true

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
# Astro 6 requires Node >=22.12; mirrors the bump in
# docs-build.yml that landed with the docs astro+starlight
Expand Down Expand Up @@ -316,7 +316,7 @@ jobs:
# changed under the file_pattern.
- name: Commit captured screenshots back to PR branch
if: github.event_name != 'workflow_dispatch'
uses: stefanzweifel/git-auto-commit-action@v5
uses: stefanzweifel/git-auto-commit-action@v7
with:
repository: pr-head
commit_message: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
timeout-minutes: 30

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

# Bring up the same stack a developer gets locally via
# `./sbpp.sh up`. CI owns the runner, so no override file is
Expand Down Expand Up @@ -73,7 +73,7 @@ jobs:
# together cover almost every "what failed and why" question.
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: playwright-report
path: web/tests/e2e/playwright-report/
Expand All @@ -82,7 +82,7 @@ jobs:

- name: Upload Playwright test-results
if: failure()
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: playwright-test-results
path: web/tests/e2e/test-results/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
--health-retries=10

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -56,7 +56,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"

- name: Cache composer dependencies
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('web/composer.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/plugin-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
name: Compile SourceMod plugins
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup SourcePawn compiler
uses: rumblefrog/setup-sp@master
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
needs: validate
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup SourcePawn compiler
uses: rumblefrog/setup-sp@master
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
exit 1
fi

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: plugin
path: sourcebans-pp-${{ github.ref_name }}.plugin-only.tar.gz
Expand All @@ -117,7 +117,7 @@ jobs:
needs: validate
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

# Composer is run against the staged tree (NOT the source checkout)
# so the source checkout stays clean and the resulting vendor/
Expand Down Expand Up @@ -217,7 +217,7 @@ jobs:
exit 1
fi

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: webpanel
path: sourcebans-pp-${{ github.ref_name }}.webpanel-only.zip
Expand All @@ -231,12 +231,12 @@ jobs:
contents: write
actions: read
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
path: assets
merge-multiple: true

- uses: softprops/action-gh-release@v2
- uses: softprops/action-gh-release@v3
with:
tag_name: ${{ github.ref_name }}
name: ${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
--health-retries=10

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
Expand All @@ -52,7 +52,7 @@ jobs:
run: echo "dir=$(composer config cache-files-dir)" >> "$GITHUB_OUTPUT"

- name: Cache composer dependencies
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('web/composer.lock') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ts-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Setup Node
uses: actions/setup-node@v4
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
Expand Down