Skip to content

Commit

Permalink
Merge pull request ordinals-wallet#3684 from ordinals-wallet/chriscon…
Browse files Browse the repository at this point in the history
…firm-patch-19

Update rust.yml
  • Loading branch information
chrisconfirm authored Aug 29, 2023
2 parents 6bd2b2e + b308162 commit e728490
Showing 1 changed file with 14 additions and 18 deletions.
32 changes: 14 additions & 18 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e728490

Please sign in to comment.