Skip to content

Commit b300ef1

Browse files
committed
Ubuntu CI: standardise names and use actions/checkout more
1 parent 71853ec commit b300ef1

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

.github/workflows/ubuntu.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,44 +57,44 @@ jobs:
5757
uses: gap-actions/setup-gap@v3
5858
with:
5959
gap-version: ${{ matrix.gap-version }}
60-
- name: "Install necessary GAP package clones . . ."
60+
- name: "Build Digraphs . . ."
61+
uses: gap-actions/build-pkg@v2
62+
- name: "Clone additional GAP packages . . ."
6163
if: ${{ matrix.gap-version != 'v4.10' }}
6264
run: |
6365
for PKG in ${{ matrix.pkgs-to-clone }}; do
6466
cd ${GAPROOT}/pkg
6567
git clone $PKG
6668
done
67-
# Add a special case for GAP v4.10 because it requires checking out a
68-
# specific version of the repository (not the default branch).
69-
- name: "Install datastructures v0.2.5 for GAP 4.10"
69+
# Special case for GAP v4.10 as it requires checking out a non-default ref
70+
- name: "Clone datastructures v0.2.5 (GAP 4.10 only) . . ."
7071
if: ${{ matrix.gap-version == 'v4.10' }}
71-
run: |
72-
cd ${GAPROOT}/pkg
73-
git clone -b v0.2.5 https://github.com/gap-packages/datastructures datastructures
74-
- name: "Build additional necessary GAP packages . . ."
72+
run: git clone -b v0.2.5 https://github.com/gap-packages/datastructures ${GAPROOT}/pkg/datastructures
73+
- name: "Build relevant GAP packages . . ."
7574
run: |
7675
cd ${GAPROOT}/pkg
7776
../bin/BuildPackages.sh --strict ${{ matrix.pkgs-to-build }}
78-
- name: Build Digraphs . . .
79-
uses: gap-actions/build-pkg@v2
80-
- name: Install digraphs-lib . . .
81-
run: git clone https://github.com/digraphs/digraphs-lib.git
82-
- name: Run DigraphsTestInstall . . .
77+
- name: "Install digraphs-lib . . ."
78+
uses: actions/checkout@v5
79+
with:
80+
repository: digraphs/digraphs-lib
81+
path: digraphs-lib
82+
- name: "Run DigraphsTestInstall . . ."
8383
uses: gap-actions/run-pkg-tests@v4
8484
with:
8585
testfile: tst/github_actions/install.g
8686
mode: ${{ matrix.mode }}
87-
- name: Run DigraphsTestStandard . . .
87+
- name: "Run DigraphsTestStandard . . ."
8888
uses: gap-actions/run-pkg-tests@v4
8989
with:
9090
testfile: tst/github_actions/standard.g
9191
mode: ${{ matrix.mode }}
92-
- name: Run DigraphsTestManualExamples . . .
92+
- name: "Run DigraphsTestManualExamples . . ."
9393
uses: gap-actions/run-pkg-tests@v4
9494
with:
9595
testfile: tst/github_actions/examples.g
9696
mode: ${{ matrix.mode }}
97-
- name: Run DigraphsTestExtreme . . .
97+
- name: "Run DigraphsTestExtreme . . ."
9898
uses: gap-actions/run-pkg-tests@v4
9999
with:
100100
testfile: tst/github_actions/extreme.g

0 commit comments

Comments
 (0)