-
Notifications
You must be signed in to change notification settings - Fork 7
fix: export types mistakenly left private #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
6d0d9ee
fixing nightly test fails
e33c15a
changed stable version in workflow
c81ab3f
correct formatter version workflow fix
254a191
stable version was wrong
44e5608
changed noir sort version
d7c54de
added the test workflow from library starter
c1638a8
dealing with compiler version
6f6c7f4
dealing with compiler version
c2d36a0
formatter and bumping the minimum compiler version in the workflow
65c22a8
changed workflow to use the latest formatter version
157f6f6
will keep the standard toml compiler version in libs to be 0.36.0
f0af792
master -> main
3c331c6
changed the workflow formatter version
4440f0b
formatter version set manually
283be6d
typo fixed
63e9790
Merge branch 'main' into kb/fix_nightly_test_fails
kashbrti cb4ce4d
some visibility changes due to merging main into the branch fixed
fd5037a
version changes again
22a1210
Update Nargo.toml
TomAFrench File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -8,15 +8,36 @@ on: | |
|
|
||
| env: | ||
| CARGO_TERM_COLOR: always | ||
| MINIMUM_NOIR_VERSION: v0.37.0 | ||
|
|
||
| jobs: | ||
| noir-version-list: | ||
| name: Query supported Noir versions | ||
| runs-on: ubuntu-latest | ||
| outputs: | ||
| noir_versions: ${{ steps.get_versions.outputs.versions }} | ||
|
|
||
| steps: | ||
| - name: Checkout sources | ||
| id: get_versions | ||
| run: | | ||
| # gh returns the Noir releases in reverse chronological order so we keep all releases published after the minimum supported version. | ||
| VERSIONS=$(gh release list -R noir-lang/noir --exclude-pre-releases --json tagName -q 'map(.tagName) | index(env.MINIMUM_NOIR_VERSION) as $index | if $index then .[0:$index+1] else [env.MINIMUM_NOIR_VERSION] end') | ||
| echo "versions=$VERSIONS" | ||
| echo "versions=$VERSIONS" >> $GITHUB_OUTPUT | ||
| env: | ||
| GH_TOKEN: ${{ github.token }} | ||
|
|
||
| test: | ||
| needs: [noir-version-list] | ||
| name: Test on Nargo ${{matrix.toolchain}} | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| toolchain: [nightly, 0.37.0] | ||
| toolchain: ${{ fromJson( needs.noir-version-list.outputs.noir_versions )}} | ||
| include: | ||
| - toolchain: nightly | ||
| steps: | ||
| - name: Checkout sources | ||
| uses: actions/checkout@v4 | ||
|
|
@@ -38,8 +59,7 @@ jobs: | |
| - name: Install Nargo | ||
| uses: noir-lang/[email protected] | ||
| with: | ||
| toolchain: 0.37.0 | ||
|
|
||
| toolchain: ${{ env.MINIMUM_NOIR_VERSION }} | ||
| - name: Run formatter | ||
| run: nargo fmt --check | ||
|
|
||
|
|
@@ -64,4 +84,4 @@ jobs: | |
| fi | ||
| env: | ||
| # We treat any cancelled, skipped or failing jobs as a failure for the workflow as a whole. | ||
| FAIL: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} | ||
| FAIL: ${{ contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled') || contains(needs.*.result, 'skipped') }} | ||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.