diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 7cae050..f90801a 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -3,7 +3,7 @@ name: Import open source standard labels on: push: branches: - - main + - master jobs: labels: diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 446ee9b..e46c5aa 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -2,7 +2,7 @@ name: Releases on: push: branches: - - rolling + - "rolling" concurrency: group: "rolling-branch" diff --git a/.github/workflows/rustfmt.yml b/.github/workflows/rustfmt.yml index cf605bc..7570f8d 100644 --- a/.github/workflows/rustfmt.yml +++ b/.github/workflows/rustfmt.yml @@ -9,10 +9,19 @@ on: jobs: format: + name: rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable - - uses: mbrobbel/rustfmt-check@master - with: - token: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: nightly + components: rustfmt + override: true + - uses: LoliGothick/rustfmt-check@master + with: + token: ${{ secrets.GITHUB_TOKEN }} + flags: --all + options: --manifest-path=Cargo.toml + args: --config-path=rustfmt.toml + working-directory: my_crate