Skip to content

Commit 19fd639

Browse files
committed
Modernize CI
Signed-off-by: Kakadu <Kakadu@pm.me>
1 parent 266ce42 commit 19fd639

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/master.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,21 @@ jobs:
2020
#OCANREN_DOCS: yes
2121
OPAMROOT: /home/user/.opam
2222

23-
runs-on: ubuntu-24.04
23+
runs-on: ubuntu-latest
2424
container:
2525
image: kakadu18/ocaml:pltools
2626
options: --user user
2727

28+
concurrency:
29+
group: ${{ github.workflow }}-${{ github.ref }}
30+
cancel-in-progress: true
31+
2832
steps:
2933
- run: opam --version
3034
- run: opam exec -- ocamlopt --version
3135

32-
- name: Cancel Previous Runs
33-
uses: styfle/cancel-workflow-action@0.11.0
34-
with:
35-
access_token: ${{ github.token }}
36-
3736
- name: Checkout code
38-
uses: actions/checkout@v3
37+
uses: actions/checkout@v4
3938

4039
- run: opam update
4140

@@ -56,7 +55,7 @@ jobs:
5655
#if: ${{ github.event.pull_request.head.repo.full_name == 'PLTools/OCanren' }}
5756
#if: false
5857
# We do not deploy in forks
59-
uses: peaceiris/actions-gh-pages@v3
58+
uses: peaceiris/actions-gh-pages@v4
6059
with:
6160
github_token: ${{ secrets.GITHUB_TOKEN }}
6261
publish_dir: ./_build/default/_doc/_html

0 commit comments

Comments
 (0)