Skip to content

Commit

Permalink
Merge pull request #1 from lumag/CI
Browse files Browse the repository at this point in the history
CI: run make check on pull requests and branch points
  • Loading branch information
lumag authored Nov 9, 2024
2 parents d213105 + 2d16a76 commit 2371213
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check
on:
pull_request:
push:
workflow_dispatch:

jobs:
check:
name: make check
runs-on: ubuntu-latest
permissions:
actions: read
contents: read

steps:
- name: Git checkout
uses: actions/checkout@v4

- name: Check
run: make check

- name: Dist
run: make dist

- name: Check install
run: make install DESTDIR=`pwd`/install
3 changes: 3 additions & 0 deletions scripts/check_whence.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ def main():
if os.path.dirname(file) == 'scripts':
continue

if os.path.dirname(file) == '.github/workflows':
continue

if file in known_files:
continue

Expand Down

0 comments on commit 2371213

Please sign in to comment.