Stop double-running "check formatting" action (#2482)

also get some sneaky reformatting of the "check formatting" action in hehe
This commit is contained in:
pajlada
2021-02-27 15:37:51 +01:00
committed by GitHub
parent 798384c931
commit b53137d1db
+7
View File
@@ -1,11 +1,17 @@
---
name: Check formatting name: Check formatting
on: on:
push: push:
branches:
- master
paths-ignore: paths-ignore:
- 'docs/**' - 'docs/**'
- '*.md' - '*.md'
pull_request: pull_request:
paths-ignore:
- 'docs/**'
- '*.md'
jobs: jobs:
check: check:
@@ -13,6 +19,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2.3.4 - uses: actions/checkout@v2.3.4
- name: apt-get update - name: apt-get update
run: sudo apt-get update run: sudo apt-get update