Skip to content

Commit

Permalink
[1 changes] chore: add a few regression tests for #6674 (noir-lang/no…
Browse files Browse the repository at this point in the history
  • Loading branch information
AztecBot committed Dec 6, 2024
1 parent 0577c1a commit 99c6f24
Show file tree
Hide file tree
Showing 139 changed files with 4,405 additions and 1,993 deletions.
2 changes: 1 addition & 1 deletion .noir-sync-commit
Original file line number Diff line number Diff line change
@@ -1 +1 @@
68c32b4ffd9b069fe4b119327dbf4018c17ab9d4
2f46f5a6832067dd1cfbba89c866e6c119cb5438
37 changes: 26 additions & 11 deletions noir/noir-repo/.github/workflows/formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,53 @@ concurrency:
jobs:
clippy:
name: cargo clippy
runs-on: ${{ matrix.runner }}
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RUSTFLAGS: -Dwarnings

strategy:
fail-fast: false
matrix:
include:
- runner: ubuntu-latest
target: x86_64-unknown-linux-gnu

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/[email protected]
with:
targets: ${{ matrix.target }}
targets: x86_64-unknown-linux-gnu
components: clippy, rustfmt

- uses: Swatinem/rust-cache@v2
with:
key: ${{ matrix.target }}
key: x86_64-unknown-linux-gnu
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Run `cargo clippy`
run: cargo clippy --all-targets --workspace --locked --release

rustfmt:
name: cargo fmt
runs-on: ubuntu-latest
timeout-minutes: 30
env:
RUSTFLAGS: -Dwarnings

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup toolchain
uses: dtolnay/[email protected]
with:
targets: x86_64-unknown-linux-gnu
components: clippy, rustfmt

- uses: Swatinem/rust-cache@v2
with:
key: x86_64-unknown-linux-gnu
cache-on-failure: true
save-if: ${{ github.event_name != 'merge_group' }}

- name: Run `cargo fmt`
run: cargo fmt --all --check

Expand Down Expand Up @@ -88,7 +104,6 @@ jobs:
run: |
mkdir dist
cp ./target/release/nargo ./dist/nargo
7z a -ttar -so -an ./dist/* | 7z a -si ./nargo-x86_64-unknown-linux-gnu.tar.gz
- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
94 changes: 0 additions & 94 deletions noir/noir-repo/.github/workflows/gates_report.yml

This file was deleted.

92 changes: 0 additions & 92 deletions noir/noir-repo/.github/workflows/gates_report_brillig.yml

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions noir/noir-repo/.github/workflows/lockfile.yml

This file was deleted.

2 changes: 1 addition & 1 deletion noir/noir-repo/.github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
steps:
- name: Run release-please
id: release
uses: google-github-actions/release-please-action@v4
uses: googleapis/release-please-action@v4
with:
token: ${{ secrets.NOIR_RELEASES_TOKEN }}

Expand Down
Loading

0 comments on commit 99c6f24

Please sign in to comment.