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
4 changes: 3 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ jobs:
env:
GH_TOKEN: ${{ github.token }}
run: |
gh attestation verify --repo ${{ github.repository }} oci://${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }}@${{ steps.build-and-push.outputs.digest }} --format json --jq '.[] | .attestation.bundle.dsseEnvelope | select(.payloadType == "application/vnd.in-toto+json").payload' | base64 -d | jq . > ${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ matrix.flavor }}_sha256_${{ steps.build-and-push.outputs.digest }}.intoto.jsonl
RAW_SHA=${{ steps.build-and-push.outputs.digest }}
FORMATTED_SHA=${RAW_SHA//:/_}
gh attestation verify --repo ${{ github.repository }} oci://${{ env.REGISTRY }}/${{ github.repository }}-${{ matrix.flavor }}@${{ steps.build-and-push.outputs.digest }} --format json --jq '.[] | .attestation.bundle.dsseEnvelope | select(.payloadType == "application/vnd.in-toto+json").payload' | base64 -d | jq . > "${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ matrix.flavor }}_${FORMATTED_SHA}.intoto.jsonl"
gh release upload ${{ github.ref_name }} ./*.intoto.jsonl
- name: Update package details in release
if: startsWith(github.ref, 'refs/tags/')
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
create-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
id: token
with:
Expand Down
2 changes: 1 addition & 1 deletion test/cpp/features/steps/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const test = base.extend<{ codespacePage: CodespacePage }, { authenticati
codespacePage: async ({ page }, use) => {
const codespacePage = new CodespacePage(page);
await codespacePage.goto();
await codespacePage.areExtensionsActive(['SonarQube', 'CMake', 'Live Share', 'GitHub Pull Requests']);
await codespacePage.areExtensionsActive(['SonarQube', 'CMake', 'Live Share', 'GitHub']);

await use(codespacePage);

Expand Down
4 changes: 2 additions & 2 deletions test/cpp/integration-tests.bats
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setup_file() {
# Installing the Windows SDK/CRT takes a long time.
# When still valid, use the installation from cache.

xwin --accept-license --cache-dir ${BATS_TEST_DIRNAME}/.xwin-hash list
xwin --accept-license --manifest-version 16 --cache-dir ${BATS_TEST_DIRNAME}/.xwin-hash list
HASH_LIST_MANIFEST=$(sha256sum ${BATS_TEST_DIRNAME}/.xwin-hash/dl/manifest*.json | awk '{ print $1 }')
HASH_CACHED_MANIFEST=

Expand All @@ -15,7 +15,7 @@ setup_file() {
fi

if [[ $HASH_LIST_MANIFEST != $HASH_CACHED_MANIFEST ]]; then
xwin --accept-license --cache-dir ${BATS_TEST_DIRNAME}/.xwin-cache splat --preserve-ms-arch-notation
xwin --accept-license --manifest-version 16 --cache-dir ${BATS_TEST_DIRNAME}/.xwin-cache splat --preserve-ms-arch-notation
fi

ln -sf ${BATS_TEST_DIRNAME}/.xwin-cache/splat/ /winsdk
Expand Down
Loading