Skip to content

Commit 88ff5f5

Browse files
committed
Tweak CI
- Use the opam-ci-check from the `live` branch - Use the `--quiet` flag
1 parent 04de824 commit 88ff5f5

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
pull_request:
88
paths:
99
- '**opam'
10-
push:
11-
paths:
12-
- '**opam'
1310

1411
jobs:
1512
lint:
@@ -31,13 +28,12 @@ jobs:
3128
ocaml-compiler: 5
3229

3330
- name: Install opam-ci-check
34-
run: opam pin opam-ci-check https://github.com/shonfeder/opam-repo-ci.git#411/archive-lint
31+
run: opam pin opam-ci-check https://github.com/ocurrent/opam-repo-ci.git#live
3532

3633
# Get the names of the packages being added to the archive, and feed these
3734
# to opam-ci-check
3835
- name: Lint newly archived packages
3936
run: |
4037
git diff --name-only origin/main packages \
4138
| sed 's:.*/\(.*\)/opam:\1:' \
42-
| xargs --max-lines=1 --max-procs=4 opam exec -- opam-ci-check lint -r . --checks=archive-repo \
43-
| grep "Error in"
39+
| xargs --max-lines=1 --max-procs=4 opam exec -- opam-ci-check lint -r . --checks=archive-repo --quiet

0 commit comments

Comments
 (0)