Skip to content

Refactor config

Refactor config #34

Workflow file for this run

name: Rustfmt
on:
pull_request:
types:
- opened
- reopened
- synchronize
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rustfmt:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-22.04]
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.81.0
components: rustfmt
- name: Show env
uses: ./.github/actions/show-env
- name: Rustfmt
uses: ./.github/actions/rustfmt