Skip to content

Commit

Permalink
V2.0.4 (#28)
Browse files Browse the repository at this point in the history
* updated to rust `1.75.0` + removed async-trait crate

* added cargo fmt workflow

* `cargo update`

* v2.0.4 preparation
  • Loading branch information
DenuxPlays authored Dec 28, 2023
1 parent 472a7c7 commit 2ebd25e
Show file tree
Hide file tree
Showing 6 changed files with 88 additions and 90 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Format
permissions: write-all
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
format:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: echo "date=$(date -d '1 month ago' +'%Y-%m-%d')" >> $GITHUB_ENV
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-${{ env.date }}
components: rustfmt
- uses: LoliGothick/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
toolchain: nightly-${{ env.date }}
flags: --all
args: --config-path=./rustfmt.toml
working-directory: .
130 changes: 54 additions & 76 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2ebd25e

Please sign in to comment.