Skip to content

Commit

Permalink
ci: fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
sargon64 committed Apr 18, 2024
1 parent 60d14c9 commit 5fa7e5c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT }}

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand Down Expand Up @@ -93,10 +95,20 @@ jobs:
# run: |
# cargo mirai --diag=default

- name: build
- name: Build
run: |
cargo build --release
- name: Format
run: |
cargo +nightly fmt
git config --global user.name "GitHub Actions"
git config --global user.email "team@pyro.host"
git commit -am "refactor: rustfmt [skip ci]"
git push
- name: Set up cache
uses: actions/cache/restore@v4
with:
Expand Down

0 comments on commit 5fa7e5c

Please sign in to comment.