forked from ordinals-wallet/ordinals-collections
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request ordinals-wallet#3684 from ordinals-wallet/chriscon…
…firm-patch-19 Update rust.yml
- Loading branch information
Showing
1 changed file
with
14 additions
and
18 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -10,28 +10,24 @@ env: | |
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
|
||
format: | ||
runs-on: ubuntu-latest | ||
name: Format new files | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Pretty-Quick | ||
run: npx -p [email protected] -p [email protected] pretty-quick | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
if: ${{ github.event_name == 'pull_request'}} | ||
with: | ||
commit_message: "style: format files" | ||
|
||
|
||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
#Experimental Auto-format starts here | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Pretty-Quick | ||
run: npx -p [email protected] -p [email protected] pretty-quick | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
if: ${{ github.event_name == 'pull_request'}} | ||
with: | ||
commit_message: "style: format files" | ||
#Experimental Auto-format ends here | ||
- name: Build | ||
run: cargo build --verbose | ||
- name: Run tests | ||
|