mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-01-11 05:17:59 +03:00
ci: checkout the code after installing git-core
This makes sure that the actions/checkout action uses git to fetch the sources (and thus resulting in a git repository), rather than using the REST API (and get a simple directory with sources). This may be useful to certain services (e.g. newer version of codecov-cli) as they need to have the sources as proper git repository. Signed-off-by: Pino Toscano <ptoscano@redhat.com>
This commit is contained in:
parent
14c5684f25
commit
8f8a1b9b43
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -11,8 +11,6 @@ jobs:
|
|||||||
image: fedora:latest
|
image: fedora:latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install base RPM packages
|
- name: Install base RPM packages
|
||||||
run: |
|
run: |
|
||||||
# glibc-langpacks-en needed to work around python locale issues
|
# glibc-langpacks-en needed to work around python locale issues
|
||||||
@ -24,6 +22,8 @@ jobs:
|
|||||||
glibc-langpack-en \
|
glibc-langpack-en \
|
||||||
python3-pytest python3-pytest-cov
|
python3-pytest python3-pytest-cov
|
||||||
|
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install RPM build deps
|
- name: Install RPM build deps
|
||||||
run: |
|
run: |
|
||||||
dnf builddep -y ./virt-manager.spec
|
dnf builddep -y ./virt-manager.spec
|
||||||
|
Loading…
Reference in New Issue
Block a user