Skip to content

Conversation

zerosnacks
Copy link
Member

@zerosnacks zerosnacks commented Sep 15, 2025

Defines per action permissions scoping, defaulting to read only

RE:

      - uses: actions/checkout@v5
        with:
          persist-credentials: false

See: actions/checkout#485

This does not yet introduce pinning to hashes, I want to find a good way to maintain this first. Apparently Dependabot has a feature for this.

Updates the workflow to no longer install redundant Anvil and Geth installations

Comment on lines -34 to -40
- name: Install Anvil
uses: foundry-rs/foundry-toolchain@v1
- uses: actions/checkout@v5
with:
version: nightly
- name: Install test binaries
shell: bash
run: ./.github/scripts/install_test_binaries.sh
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are unused

Comment on lines -67 to -80
no-std:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
target: riscv32imac-unknown-none-elf
- uses: taiki-e/install-action@cargo-hack
- uses: Swatinem/rust-cache@v2
with:
cache-on-failure: true
- name: check
run: ./scripts/check_no_std.sh
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note: drops explicit no-std requirement per discussion

@zerosnacks zerosnacks marked this pull request as ready for review September 15, 2025 09:48
@zerosnacks zerosnacks enabled auto-merge (squash) September 15, 2025 09:49
@zerosnacks zerosnacks marked this pull request as draft September 15, 2025 10:28
auto-merge was automatically disabled September 15, 2025 10:28

Pull request was converted to draft

@zerosnacks zerosnacks changed the title chore(ci): clean up workflow + harden workflow by setting permissions per job chore(ci): clean up workflow + harden workflow by setting default permission to read only Sep 15, 2025
@zerosnacks zerosnacks marked this pull request as ready for review September 15, 2025 10:48
@zerosnacks zerosnacks merged commit de3fd9d into main Sep 15, 2025
17 checks passed
@zerosnacks zerosnacks deleted the zerosnacks/harden-ci branch September 15, 2025 10:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants