Skip to content

Commit

Permalink
Mount /dev on container for lvm tests
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Nov 4, 2023
1 parent 242897a commit 189de24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ jobs:

build:
runs-on: ubuntu-latest
container: ghcr.io/vanilla-os/pico:main
container:
image: ghcr.io/vanilla-os/pico:main
volumes:
- /dev:/dev

steps:
- uses: actions/checkout@v4
Expand All @@ -23,7 +26,7 @@ jobs:
- name: Install build dependencies
run: |
apt-get update
apt-get install -y gcc pkg-config libbtrfs-dev libdevmapper-dev libgpgme-dev liblvm2-dev
apt-get install -y gcc pkg-config libbtrfs-dev libdevmapper-dev libgpgme-dev lvm2
- name: Build
run: go build -v ./...
Expand Down

0 comments on commit 189de24

Please sign in to comment.