Extend AccountId
to two Felt
s and refactor creation process
#2117
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Runs linting related jobs. | |
name: lint | |
# Limits workflow concurrency to only the latest commit in the PR. | |
concurrency: | |
group: "${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}" | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [main, next] | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
clippy: | |
name: clippy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Only update the cache on push onto the next branch. This strikes a nice balance between | |
# cache hits and cache evictions (github has a 10GB cache limit). | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: Clippy | |
run: | | |
rustup update --no-self-update | |
rustup component add clippy | |
make clippy | |
rustfmt: | |
name: rustfmt | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Only update the cache on push onto the next branch. This strikes a nice balance between | |
# cache hits and cache evictions (github has a 10GB cache limit). | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: Rustfmt | |
run: | | |
rustup update --no-self-update nightly | |
rustup +nightly component add rustfmt | |
make format-check | |
doc: | |
name: doc | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Only update the cache on push onto the next branch. This strikes a nice balance between | |
# cache hits and cache evictions (github has a 10GB cache limit). | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: Build docs | |
run: | | |
rustup update --no-self-update | |
make doc | |
version: | |
name: check rust version consistency | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
with: | |
profile: minimal | |
override: true | |
- name: check rust versions | |
run: ./scripts/check-rust-version.sh | |
kernel_errors: | |
name: kernel errors check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@main | |
- name: Rustup | |
run: rustup update --no-self-update | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
save-if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/next' }} | |
- name: Rebuild kernel errors | |
run: BUILD_KERNEL_ERRORS=1 cargo check -p miden-lib | |
- name: Diff check | |
run: git diff --exit-code |