chore(deps): update actions/checkout action to v4 #148
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: tests | |
on: [push, pull_request] | |
jobs: | |
test-local: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
image: [ "RPi-OpenWRT", "RPi-RaspberryPiOSLite" ] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install dependencies | |
run: sudo apt-get update && sudo apt-get install -y binfmt-support fdisk file kpartx lsof p7zip-full qemu qemu-user-static unzip wget xz-utils units | |
shell: bash | |
- name: Run pimod OpenWRT example | |
run: sudo ./pimod.sh examples/${{ matrix.image }}.Pifile | |
test-action: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Run pimod OpenWRT example | |
uses: Nature40/pimod@HEAD | |
with: | |
pifile: examples/RPi-OpenWRT.Pifile |