fix(ci): Adapt to Forgejo actions

This commit is contained in:
Steffen Vogel
2025-12-18 07:21:56 +01:00
parent 7976b8a5af
commit 18e9f85e11
3 changed files with 12 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ permissions:
jobs:
nix-update:
name: Update Nix hashes
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
outputs:
tag-current: ${{ steps.tags.outputs.current }}
@@ -30,7 +30,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
uses: https://code.forgejo.org/actions/checkout@v5
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
@@ -188,7 +188,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v5
uses: https://code.forgejo.org/actions/checkout@v5
- name: Install dependencies
if: ${{ matrix.host_os == 'linux' }}
@@ -212,7 +212,7 @@ jobs:
make
- name: Setup Go
uses: actions/setup-go@v5
uses: https://code.forgejo.org/actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
@@ -247,7 +247,7 @@ jobs:
- name: Upload logs an packet captures as artifacts
if: ${{ always() && matrix.target_arch == matrix.host_arch && matrix.target_os == matrix.host_os && matrix.host_os == 'linux' }}
uses: actions/upload-artifact@v4
uses: https://code.forgejo.org/actions/upload-artifact@v4
with:
name: test-logs-${{ matrix.target_os }}-${{ matrix.target_arch }}
path: test/e2e/logs/
@@ -279,11 +279,11 @@ jobs:
if: github.ref == 'refs/heads/main' && github.event_name == 'push' && needs.nix-update.outputs.tag-next != needs.nix-update.outputs.tag-current
environment: release
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: https://code.forgejo.org/actions/checkout@v5
with:
fetch-depth: 0
token: ${{ secrets.PAT }}

View File

@@ -21,11 +21,11 @@ jobs:
flake:
name: Check flake.lock
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: https://code.forgejo.org/actions/checkout@v5
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v12

View File

@@ -21,13 +21,13 @@ permissions:
jobs:
goreleaser:
environment: release
runs-on: ubuntu-24.04
runs-on: ubuntu-latest
env:
DOCKER_CLI_EXPERIMENTAL: "enabled"
steps:
- name: Checkout
uses: actions/checkout@v5
uses: https://code.forgejo.org/actions/checkout@v5
with:
fetch-depth: 0
@@ -46,7 +46,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Go
uses: actions/setup-go@v5
uses: https://code.forgejo.org/actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true