regenbogenkarte/.github/workflows/pr.yml
2022-09-05 10:05:38 +02:00

28 lines
553 B
YAML

name: Code quality verification
on:
pull_request:
types:
- "opened"
- "synchronize"
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Format files
run: make format
- uses: stefanzweifel/git-auto-commit-action@v4
name: Commit possible changes
with:
commit_message: "style: format files using prettier"
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the project
run: make build