Skip to content

Commit

Permalink
ci: run on all pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelelliot committed Jan 24, 2024
1 parent 75dd85e commit fb6de0e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build&test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: build&test

on:
push:
branches: [ "latest" ]
branches:
- latest
pull_request:
branches: [ "latest" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -15,7 +15,7 @@ jobs:
matrix:
runner: [ubuntu-latest]
# runner: [arc-runner-set]

runs-on: ${{ matrix.runner }}
container:
image: docker.io/rust:latest
Expand All @@ -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
Expand All @@ -40,4 +40,4 @@ jobs:
run: cargo build -vv
- name: Run tests
working-directory: noir/tooling/noir_rs
run: cargo test -vv
run: cargo test -vv
12 changes: 6 additions & 6 deletions .github/workflows/run-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: run-examples

on:
push:
branches: [ "latest" ]
branches:
- latest
pull_request:
branches: [ "latest" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -15,7 +15,7 @@ jobs:
matrix:
runner: [ubuntu-latest]
# runner: [arc-runner-set]

runs-on: ${{ matrix.runner }}
container:
image: docker.io/rust:latest
Expand All @@ -30,15 +30,15 @@ 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
- uses: actions/checkout@v3
- 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
cargo run -vv

0 comments on commit fb6de0e

Please sign in to comment.