Skip to content

Commit 486a520

Browse files
committed
Update workflow
Checkout repo inside container environment
1 parent e1be545 commit 486a520

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,19 @@ jobs:
1111
runs-on: ubuntu-latest
1212
container:
1313
image: ghcr.io/openvoxproject/openvoxserver
14-
volumes:
15-
- .:/repo
1614
options: --cpus 1
1715
steps:
16+
- name: Checkout repo
17+
uses: actions/checkout@v6
1818
- name: Run puppet parser validate
19-
run: /opt/puppetlabs/bin/puppet parser validate --verbose /repo/
19+
run: /opt/puppetlabs/bin/puppet parser validate --verbose ./
2020
rspec-tests:
2121
runs-on: ubuntu-latest
2222
container:
2323
image: ghcr.io/voxpupuli/voxbox:8
24-
volumes:
25-
- .:/repo
2624
options: --cpus 1
2725
steps:
26+
- name: Checkout repo
27+
uses: actions/checkout@v6
2828
- name: Run rspec tests
2929
run: rake -f /Rakefile spec
30-
working-directory: /repo

0 commit comments

Comments
 (0)