-
Notifications
You must be signed in to change notification settings - Fork 2
handle warnings #15
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
handle warnings #15
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,30 @@ | ||||||
| name: release | ||||||
|
|
||||||
| on: | ||||||
| release: | ||||||
| types: [published] | ||||||
|
|
||||||
| jobs: | ||||||
| publish: | ||||||
| runs-on: ubuntu-22.04 | ||||||
| steps: | ||||||
| - uses: actions/checkout@v4 | ||||||
|
|
||||||
| - name: Setup Moonbit | ||||||
| uses: hustcer/setup-moonbit@v1 | ||||||
| # with: | ||||||
| # version: "nightly" | ||||||
|
|
||||||
| - name: moon check | ||||||
| run: moon update && moon version && moon check --target js | ||||||
|
|
||||||
| - name: moon test | ||||||
| run: moon build --target js --debug | ||||||
|
|
||||||
| - name: setup credentials | ||||||
| run: | | ||||||
| mkdir -p ~/.moon | ||||||
| echo '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json | ||||||
|
||||||
| echo '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json | |
| printf '%s' '${{ secrets.MOON_CREDENTIALS }}' > ~/.moon/credentials.json |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,3 +5,7 @@ trace.json | |
| .DS_Store | ||
|
|
||
| *.mbti | ||
|
|
||
| _build | ||
|
|
||
| .github/skills/ | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| import { | ||
| "moonbitlang/core/json" @json, | ||
| "tiye/cirru-parser" @lib, | ||
| } | ||
|
|
||
| import { | ||
| } for "test" | ||
|
|
||
| options( | ||
| "is-main": true, | ||
| ) |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| import { | ||
| "moonbitlang/core/cmp" @cmp, | ||
| "moonbitlang/core/json" @json, | ||
| } | ||
|
|
||
| import { | ||
| "tiye/cirru-parser" @lib, | ||
| } for "test" |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The step named "moon test" is running
moon build --target js --debug, which does not execute the test suite. Rename the step to reflect what it does or switch the command tomoon test(and keep build as a separate step if needed) so releases don’t bypass tests.