diff --git a/.github/workflows/build&test.yml b/.github/workflows/build&test.yml index 35bee768ee4..97a849d88b7 100644 --- a/.github/workflows/build&test.yml +++ b/.github/workflows/build&test.yml @@ -2,9 +2,9 @@ name: build&test on: push: - branches: [ "latest" ] + branches: + - latest pull_request: - branches: [ "latest" ] env: CARGO_TERM_COLOR: always @@ -15,7 +15,7 @@ jobs: matrix: runner: [ubuntu-latest] # runner: [arc-runner-set] - + runs-on: ${{ matrix.runner }} container: image: docker.io/rust:latest @@ -30,7 +30,7 @@ jobs: cmake-version: '3.24.0' - name: Install | Nargo shell: bash - run: | + run: | curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash source /github/home/.bashrc noirup @@ -40,4 +40,4 @@ jobs: run: cargo build -vv - name: Run tests working-directory: noir/tooling/noir_rs - run: cargo test -vv \ No newline at end of file + run: cargo test -vv diff --git a/.github/workflows/run-examples.yml b/.github/workflows/run-examples.yml index 0176398acc2..5c8e6ad5b76 100644 --- a/.github/workflows/run-examples.yml +++ b/.github/workflows/run-examples.yml @@ -2,9 +2,9 @@ name: run-examples on: push: - branches: [ "latest" ] + branches: + - latest pull_request: - branches: [ "latest" ] env: CARGO_TERM_COLOR: always @@ -15,7 +15,7 @@ jobs: matrix: runner: [ubuntu-latest] # runner: [arc-runner-set] - + runs-on: ${{ matrix.runner }} container: image: docker.io/rust:latest @@ -30,7 +30,7 @@ jobs: cmake-version: '3.24.0' - name: Install | Nargo shell: bash - run: | + run: | curl -L https://raw.githubusercontent.com/noir-lang/noirup/main/install | bash source /github/home/.bashrc noirup @@ -38,7 +38,7 @@ jobs: - name: Run noir/tooling/noir_rs/examples/poly_check_circuit working-directory: noir/tooling/noir_rs/examples/poly_check_circuit shell: bash - run: | + run: | source /github/home/.bashrc nargo compile - cargo run -vv \ No newline at end of file + cargo run -vv