Skip to content

Commit

Permalink
gha: verilator: Add '--locked' to sccache install (#559)
Browse files Browse the repository at this point in the history
* gha: Add '--locked' to sccache install

Use exact crate versions specified by Cargo.lock.

Signed-off-by: Wiktoria Kuna <[email protected]>

* gha: pull_request: Add write permissions for doc-gen

Signed-off-by: Wiktoria Kuna <[email protected]>

* gha: Stamp repo to approve changes

The changes apply only to the github workflow flow,
simulate a pass from internal workflow.

Signed-off-by: Wiktoria Kuna <[email protected]>

---------

Signed-off-by: Wiktoria Kuna <[email protected]>
  • Loading branch information
wkkuna authored Aug 7, 2024
1 parent 5f85fb4 commit 5ca1be7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_hash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
fde9d1079e553c77020a67730f8725c220f1dd5d6d8d9ec3c1d6415f79ea7573075c3787c14674c943c9b93d45866199
164f167bb9dc6b7c538a7e8850b47e3d537587463c9b1c88c224f6aee560611d0472442fd6334167385285f768e4ee26
2 changes: 1 addition & 1 deletion .github/workflow_metadata/pr_timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1719520371
1722925272
2 changes: 1 addition & 1 deletion .github/workflows/build-test-verilator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Install sccache
if: steps.sccache_bin_restore.outputs.cache-hit != 'true'
run: |
cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha
cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha
- name: Save sccache binary
uses: actions/cache/save@v3
if: steps.sccache_bin_restore.outputs.cache-hit != 'true'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/interactive-debugging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
- name: Install sccache
if: steps.sccache_bin_restore.outputs.cache-hit != 'true'
run: |
cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha
cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha
- name: Save sccache binary
uses: actions/cache/save@v3
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Install sccache
if: steps.sccache_bin_restore.outputs.cache-hit != 'true'
run: |
cargo install sccache --version ${SCCACHE_VERSION} --no-default-features --features=gha
cargo install sccache --locked --version ${SCCACHE_VERSION} --no-default-features --features=gha
- name: Save sccache binary
uses: actions/cache/save@v3
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
uses: ./.github/workflows/interactive-debugging.yml
doc_gen:
uses: ./.github/workflows/doc-gen.yml
permissions:
pages: write
id-token: write
post_run:
name: Call Post Run Final
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 5ca1be7

Please sign in to comment.