Skip to content

Commit

Permalink
Add name to workflows and update checkout version
Browse files Browse the repository at this point in the history
  • Loading branch information
QuintenQVD0 authored and austin987 committed Jul 5, 2023
1 parent 9aeab4f commit 4431466
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/install.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
on: [push, pull_request]
name: install
jobs:
macos:
name: make install (with prefix)
runs-on: macos-latest
steps:
- name: checkout project
uses: actions/checkout@v2
uses: actions/checkout@v3
# OSX doesn't allow writing to /usr/bin, so skip the non-PREFIX check
- name: run make install (with PREFIX)
run: time make install PREFIX="$(mktemp -d)"
Expand All @@ -14,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout project
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: run make install (with PREFIX)
run: time make install PREFIX="$(mktemp -d)"
- name: run make install (without PREFIX)
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/shell-checks.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
on: [push, pull_request]
name: shellcheck
jobs:
shellcheck:
name: shellcheck
runs-on: ubuntu-latest
steps:
- name: checkout project
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: run shell-checks
run: sudo apt-get -y install shellcheck python3-bashate && time ./tests/shell-checks
3 changes: 2 additions & 1 deletion .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
on: [push, pull_request]
name: Update
jobs:
update:
name: self-update-test
Expand All @@ -8,6 +9,6 @@ jobs:
os: [macos-latest, ubuntu-latest]
steps:
- name: checkout project
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: run self-update-test
run: ./tests/self-update-test

0 comments on commit 4431466

Please sign in to comment.