image: ${{ matrix.container }}
steps:
- - name: Sparse checkout the local actions
+ - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- sparse-checkout: .github
- name: Setup OS
uses: ./.github/actions/setup-os
- - name: Checkout the whole project
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
-
- name: Set the environment
run: |
- # The second checkout above claims to set safe.directory, yet it
- # doesn't quite work. Perhaps our double/sparse checkout is to blame?
- git config --global --add safe.directory '*'
-
.github/print-kdir.sh >> "$GITHUB_ENV"
- name: Initialize CodeQL
image: ${{ matrix.container }}
steps:
- - name: Sparse checkout the local actions
+ - name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- with:
- sparse-checkout: .github
- name: Setup OS
uses: ./.github/actions/setup-os
- - name: Checkout the whole project
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
-
- name: Set the environment
run: |
- # The second checkout above claims to set safe.directory, yet it
- # doesn't quite work. Perhaps our double/sparse checkout is to blame?
- git config --global --add safe.directory '*'
-
.github/print-kdir.sh >> "$GITHUB_ENV"
- name: Build