Skip to content

fix: 修复#131

fix: 修复#131 #338

# Copyright 2023-2025, shadow3 (@shadow3aaa)
#
# This file is part of fas-rs.
#
# fas-rs is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# fas-rs is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along
# with fas-rs. If not, see <https://www.gnu.org/licenses/>.
name: check-license
on:
push:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
if: github.actor == 'shadow3aaa'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run checks
run: |
cargo install hawkeye
hawkeye format || true
- uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT }}
commit-message: Add missing license header