Skip to content

chore: 修改devcontainer与编辑器配置 (#19) #2

chore: 修改devcontainer与编辑器配置 (#19)

chore: 修改devcontainer与编辑器配置 (#19) #2

Workflow file for this run

name: Lint
on:
push:
branches:
- master
tags-ignore:
- '**'
pull_request: null
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Cargo fmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy