Skip to content

Commit 0ac9623

Browse files
committed
Fix GitHub workflow checkout
In fedora container the checkout GitHub action doesn't work. Let's use Fedora container only for test execution.
1 parent ecc60bf commit 0ac9623

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/validate.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,12 @@ on: [push, pull_request]
33
jobs:
44
rawhide:
55
runs-on: ubuntu-latest
6-
container:
7-
image: registry.fedoraproject.org/fedora:rawhide
86
steps:
97
- name: Clone repository
108
uses: actions/checkout@v2
119

12-
- name: install test dependencies
13-
run: dnf install -y python3-pylint python3-gobject-base make
14-
15-
- name: run tests
16-
run: make ci
10+
- name: Run test
11+
run: |
12+
podman run --rm -v .:/simpleline:Z --workdir /simpleline registry.fedoraproject.org/fedora:rawhide sh -c " \
13+
dnf install -y python3-pylint python3-gobject-base make; \
14+
make ci"

0 commit comments

Comments
 (0)