diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..4476b0a --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,44 @@ +name: Noir tests + +on: + push: + branches: + - main + pull_request: + +env: + CARGO_TERM_COLOR: always + +jobs: + test: + name: Test on Nargo ${{matrix.toolchain}} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + toolchain: [0.34.0] + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Install Nargo + uses: noir-lang/noirup@v0.1.3 + with: + toolchain: ${{ matrix.toolchain }} + + - name: Run Noir tests + run: nargo test + + format: + runs-on: ubuntu-latest + steps: + - name: Checkout sources + uses: actions/checkout@v4 + + - name: Install Nargo + uses: noir-lang/noirup@v0.1.3 + with: + toolchain: 0.34.0 + + - name: Run formatter + run: nargo fmt --check diff --git a/Nargo.toml b/Nargo.toml index 6bad69a..f72bcf1 100644 --- a/Nargo.toml +++ b/Nargo.toml @@ -1,7 +1,7 @@ [package] name = "nodash" type = "lib" -authors = [""] +authors = ["Oleh Misarosh "] compiler_version = ">=0.30.0" -[dependencies] \ No newline at end of file +[dependencies]