-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GITHUB: workflows/testing.yml: use actions/[email protected], fix annot…
…ated tag Upgrade to actions/[email protected] and Fix actions/checkout messing up checkouts of annotated tags; actions/checkout#290 Also fetch submodule upfront. Signed-off-by: Tim Janik <[email protected]>
- Loading branch information
Showing
1 changed file
with
20 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: { CICACHE: "/tmp/cicache", CITAG: "focal" } | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: { fetch-depth: 0 } | ||
- run: | | ||
git fetch -f --tags # Fix actions/checkout annotated tag mess; actions/checkout#290 | ||
git submodule update --init --recursive | ||
- uses: actions/cache@v3 | ||
with: { path: "/tmp/cicache", key: "cifocal-${{hashFiles ('misc/Dockerfile.focal')}}" } | ||
- name: 'Prepare Docker Image' | ||
|
@@ -40,7 +44,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: { CICACHE: "/tmp/cicache", CITAG: "arch" } | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: { fetch-depth: 0 } | ||
- run: | | ||
git fetch -f --tags # Fix actions/checkout annotated tag mess; actions/checkout#290 | ||
git submodule update --init --recursive | ||
- uses: actions/cache@v3 | ||
with: { path: "/tmp/cicache", key: "ciarch-${{hashFiles ('misc/Dockerfile.arch')}}" } | ||
- name: 'Prepare Docker Image' | ||
|
@@ -63,7 +71,11 @@ jobs: | |
runs-on: ubuntu-latest | ||
env: { CICACHE: "/tmp/cicache", CITAG: "focal" } | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
with: { fetch-depth: 0 } | ||
- run: | | ||
git fetch -f --tags # Fix actions/checkout annotated tag mess; actions/checkout#290 | ||
git submodule update --init --recursive | ||
- uses: actions/cache@v3 | ||
with: { path: "/tmp/cicache", key: "cifocal-${{hashFiles ('misc/Dockerfile.focal')}}" } | ||
- name: 'Prepare Docker Image' | ||
|
@@ -91,7 +103,11 @@ jobs: | |
needs: [Focal-Assets, Arch-Replay, Focal-Clang-Tidy] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/[email protected] | ||
with: { fetch-depth: 0 } | ||
- run: | | ||
git fetch -f --tags # Fix actions/checkout annotated tag mess; actions/checkout#290 | ||
git submodule update --init --recursive | ||
- name: Check Jobs | ||
run: | | ||
echo '${{ needs.Focal-Assets.result }}' '${{ needs.Arch-Replay.result }}' '${{ needs.Focal-Clang-Tidy.result }}' | ||
|