Skip to content

Commit 96bb69c

Browse files
committed
build/ci: upgrade GitHub actions; add dependabot.yml 🤖
1 parent 55d7c15 commit 96bb69c

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: github-actions
9+
directory: /
10+
schedule:
11+
interval: daily

.github/workflows/ci.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,16 @@ jobs:
1717
name: Test on ${{ matrix.os }}
1818

1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
submodules: recursive
2323
- run: brew install coreutils gnu-sed
2424
# https://docs.github.com/en/actions/learn-github-actions/variables#detecting-the-operating-system
2525
# https://docs.github.com/en/actions/learn-github-actions/expressions
2626
if: runner.os == 'macOS'
2727
- run: test-cases/integration-test.sh
28+
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
29+
- name: Check git dirty
30+
run: |
31+
git status --short
32+
[ -z "$(git status --short)" ]

.github/workflows/lint.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ jobs:
1212
name: Lint
1313

1414
steps:
15-
- uses: actions/checkout@v3
15+
- uses: actions/checkout@v4
1616
with:
1717
submodules: recursive
1818
- run: test-cases/lint.sh
19+
# https://remarkablemark.org/blog/2017/10/12/check-git-dirty/
20+
- name: Check git dirty
21+
run: |
22+
git status --short
23+
[ -z "$(git status --short)" ]

0 commit comments

Comments
 (0)