From 41e74c85176d6267e9ac6beb5330d8a9cc828a1f Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Mon, 22 Jul 2024 10:53:37 -0700 Subject: [PATCH 1/4] Dummy README update --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5c29b2f..7d0b51e0d 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.*_
# **Caliptra Hands-On Guide** # -_*Last Update: 2024/07/02*_ +_*Last Update: 2024/07/22*_ ## **Tools Used** ## From a1c8d9d9c21a074ac20202ead6b9bb2eb04ab48f Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Wed, 24 Jul 2024 12:22:32 -0700 Subject: [PATCH 2/4] Update SCCACHE version --- .github/workflows/build-test-verilator.yml | 2 +- .github/workflows/interactive-debugging.yml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-test-verilator.yml b/.github/workflows/build-test-verilator.yml index bb943bd6d..b73092729 100644 --- a/.github/workflows/build-test-verilator.yml +++ b/.github/workflows/build-test-verilator.yml @@ -10,7 +10,7 @@ on: env: CARGO_INCREMENTAL: 0 - SCCACHE_VERSION: 0.3.3 + SCCACHE_VERSION: 0.8.1 RISCV_VERSION: v12.1.0 VERILATOR_VERSION: v5.012 PKG_CONFIG_PATH: /opt/verilator/share/pkgconfig diff --git a/.github/workflows/interactive-debugging.yml b/.github/workflows/interactive-debugging.yml index bf57b493e..a5a5dda25 100644 --- a/.github/workflows/interactive-debugging.yml +++ b/.github/workflows/interactive-debugging.yml @@ -15,8 +15,7 @@ jobs: env: CARGO_INCREMENTAL: 0 - SCCACHE_VERSION: 0.3.3 - # TODO: To update to 5.006, clean up lint errors + SCCACHE_VERSION: 0.8.1 VERILATOR_VERSION: v5.012 SCCACHE_GHA_CACHE_TO: sccache-verilator-10000 SCCACHE_GHA_CACHE_FROM: sccache-verilator- @@ -93,7 +92,7 @@ jobs: env: CARGO_INCREMENTAL: 0 - SCCACHE_VERSION: 0.3.3 + SCCACHE_VERSION: 0.8.1 # A custom fork is needed to allow bypassing core examination and accessing # peripherals regardless of core state. OPENOCD_REPO: https://github.com/antmicro/openocd From 4f4c6183764103e36c53ddc89e9cbebd136b3056 Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Tue, 23 Jul 2024 16:51:12 -0700 Subject: [PATCH 3/4] Add id-token and pages write permissions --- .github/workflows/pull_request.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 05bdcab58..270e54a50 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,6 +8,10 @@ on: workflow_dispatch: pull_request: +permissions: + pages: write + id-token: write + jobs: # Call auxiliary workflows pre_run: From 0f1b0789aa14f295316afec3f65eb06945feb632 Mon Sep 17 00:00:00 2001 From: Caleb Whitehead Date: Tue, 23 Jul 2024 17:03:16 -0700 Subject: [PATCH 4/4] Limited scope permissions --- .github/workflows/pull_request.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 270e54a50..1ca2cb01c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -8,10 +8,6 @@ on: workflow_dispatch: pull_request: -permissions: - pages: write - id-token: write - jobs: # Call auxiliary workflows pre_run: @@ -22,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