Skip to content

Commit

Permalink
.github/workflows/testing.yml: test checkout fixups
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Janik <[email protected]>
  • Loading branch information
tim-janik committed Jun 24, 2024
1 parent 85876f5 commit 71c304d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' }
steps:
- run: id && pwd && ls -al
- { uses: actions/[email protected], with: { fetch-depth: 0 } } # Fix actions/checkout#290
- run: git fetch -f --tags && git submodule update --init --recursive && git describe
- name: 'Configure build presets'
Expand All @@ -33,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' }
steps:
- { uses: actions/checkout@v4.1.1, with: { fetch-depth: 0 } } # Fix actions/checkout#290
- { uses: actions/checkout@v3, with: { fetch-depth: 0 } } # Fix actions/checkout#290
- run: git fetch -f --tags && git submodule update --init --recursive && git describe
- name: 'Configure build presets'
run: |
Expand All @@ -48,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:arch-latest' }
steps:
- { uses: actions/checkout@v4.1.1, with: { fetch-depth: 0 } } # Fix actions/checkout#290
- { uses: actions/checkout@v4 }
- run: git fetch -f --tags && git submodule update --init --recursive && git describe
- name: 'Configure build presets'
run: |
Expand All @@ -70,7 +71,9 @@ jobs:
FocalClangTidy:
if: ${{ ! contains(github.ref, 'refs/tags/') }}
runs-on: ubuntu-latest
container: { image: 'ghcr.io/tim-janik/anklang-ci:focal-latest' }
container:
image: 'ghcr.io/tim-janik/anklang-ci:focal-latest'
options: --user root
steps:
- { uses: actions/[email protected], with: { fetch-depth: 0 } } # Fix actions/checkout#290
- run: git fetch -f --tags && git submodule update --init --recursive && git describe
Expand Down

0 comments on commit 71c304d

Please sign in to comment.