You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
518 B
26 lines
518 B
name: autofix.ci
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: ["main"]
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
autofix:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
- run: go install github.com/google/yamlfmt/cmd/yamlfmt@latest
|
|
- run: yamlfmt .
|
|
|
|
- uses: actions/setup-python@v5
|
|
- run: pip install ruff
|
|
- run: ruff format .
|
|
- run: ruff check --fix .
|
|
|
|
- uses: autofix-ci/action@ff86a557419858bb967097bfc916833f5647fa8c
|