Merge pull request #69 from rfay/20250112_fix_github_tests
tests: Update github config to use current macos and actions/checkout, fixes #68
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index efa6be3..dfa525b 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -13,26 +13,26 @@
shellcheck:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- run: shellcheck ./src/*
build:
strategy:
matrix:
- os: ['macos-12', 'ubuntu-latest']
+ os: ['macos-15', 'ubuntu-latest']
runs-on: ${{ matrix.os }}
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- run: ./script/install-bats.sh
-
- - uses: actions/checkout@v2
+
+ - uses: actions/checkout@v4
with:
repository: bats-core/bats-support
path: bats-support
-
+
# set PATh to ensure we use bats from our local installation (looking at you Mac Runner!)
- name: bats test
run: |
PATH="$HOME/.local/bin:$PATH"
bats -v
- BATS_LIB_PATH="$PWD" bats --print-output-on-failure test
\ No newline at end of file
+ BATS_LIB_PATH="$PWD" bats --print-output-on-failure test