zfs-inplace-rebalancing/.github/workflows/test.yml
dependabot[bot] 21d718259e
Bump actions/cache from 3 to 4 (#58)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-06 16:39:07 +01:00

53 lines
986 B
YAML

# Test
name: Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
linuxTest:
name: Test on Linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run testing script
run: ./testing.sh
macOsTest:
name: Test on macOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Run testing script on macOS
run: ./testing.sh
FreeBSDTest:
name: Test on FreeBSD
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-cache-
- name: Test in FreeBSD
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y bash
run: |
./testing.sh