1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-11 22:25:44 +08:00
2021-03-17 23:53:17 +08:00

25 lines
550 B
YAML

name: Lint
on: [push]
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: latest
- name: Commit back
continue-on-error: true
run: |
git config --local user.name 'Github Actions'
git config --local user.email 'github-actions@users.noreply.github.com'
git add --all
git commit -m "ci(chore): Fix stylings"
git push