Skip to content

Commit f0a4c42

Browse files
Merge pull request #1075 from ocsigen/ci-names
Improve CI job names
2 parents 16aab4e + 9530883 commit f0a4c42

File tree

2 files changed

+26
-12
lines changed

2 files changed

+26
-12
lines changed

.github/workflows/lint.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: lint
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
lint-opam:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout tree
14+
uses: actions/checkout@v5
15+
- name: Set-up OCaml
16+
uses: ocaml/setup-ocaml@v3
17+
with:
18+
ocaml-compiler: 5
19+
- uses: ocaml/setup-ocaml/lint-opam@v3

.github/workflows/workflow.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
name: Builds, tests & co
1+
name: Builds, tests
22

33
on:
44
pull_request:
55
push:
6+
branches:
7+
- master
68
schedule:
79
# Prime the caches every Monday
810
- cron: 0 1 * * MON
@@ -40,12 +42,16 @@ jobs:
4042
ocaml-compiler: "5.3"
4143
libev: false
4244
- os: ubuntu-latest
45+
ocaml-name: "5.3.0+32bit"
4346
ocaml-compiler: "ocaml-variants.5.3.0+options,ocaml-option-32bit"
4447
libev: false
4548

4649

4750
runs-on: ${{ matrix.os }}
4851

52+
name:
53+
${{ matrix.ocaml-name != '' && matrix.ocaml-name || matrix.ocaml-compiler}} / ${{ matrix.os }} / libev=${{ matrix.libev}}
54+
4955
steps:
5056

5157
- name: Checkout tree
@@ -80,14 +86,3 @@ jobs:
8086

8187
- run: opam exec -- dune runtest --only-packages lwt,lwt_ppx__ppx_let_tests
8288
if: ${{ fromJSON(steps.configppx.outputs.letppx) }}
83-
84-
lint-opam:
85-
runs-on: ubuntu-latest
86-
steps:
87-
- name: Checkout tree
88-
uses: actions/checkout@v5
89-
- name: Set-up OCaml
90-
uses: ocaml/setup-ocaml@v3
91-
with:
92-
ocaml-compiler: 5
93-
- uses: ocaml/setup-ocaml/lint-opam@v3

0 commit comments

Comments
 (0)