Bump actions/checkout from 4.2.0 to 4.2.1 #330
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Testing | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.sha }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
name: Run Bats tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4.2.1 | |
- name: Install Pandoc | |
uses: r-lib/actions/setup-pandoc@v2.10.1 | |
with: | |
pandoc-version: 3.1.6.1 | |
- name: Get Bats repository | |
uses: actions/checkout@v4.2.1 | |
with: | |
repository: bats-core/bats-core | |
ref: v1.11.0 | |
path: bats-core | |
- name: Install dependencies | |
run: | | |
echo "::group::Install BATS" | |
cd bats-core | |
./install.sh "$HOME" | |
printf '%s\n' "$HOME/bin" "$HOME/.local/bin" >> "$GITHUB_PATH" | |
echo "::endgroup::" | |
echo "::group::Install graphviz" | |
sudo apt-get install graphviz | |
echo "::endgroup::" | |
echo "::group::Install inotify-tools" | |
sudo apt-get install inotify-tools | |
echo "::endgroup::" | |
- name: Run tests | |
run: bats --tap test |