Skip to content

Commit

Permalink
use ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Khady committed Oct 9, 2024
1 parent 60b7549 commit e8d3aa2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
os:
- macos-latest
- ubuntu-latest
- ubuntu-22.04
# - windows-latest
ocaml-version:
- 4.14
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/deploy-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@ jobs:
id-token: write
pages: write

runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: "5.1"
ocaml-compiler: "5.2"
dune-cache: true
opam-depext-flags: "--with-doc"
allow-prerelease-opam: true

- name: Install dependencies
Expand Down
33 changes: 15 additions & 18 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,49 @@ on:

jobs:
lint-fmt:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.1
uses: ocaml/setup-ocaml@v2
- name: Use OCaml 5.2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.1
ocaml-compiler: 5.2
dune-cache: true
opam-depext-flags: "--with-doc"
allow-prerelease-opam: true

- name: Lint fmt
uses: ocaml/setup-ocaml/lint-fmt@v2
uses: ocaml/setup-ocaml/lint-fmt@v3

lint-opam:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.1
uses: ocaml/setup-ocaml@v2
- name: Use OCaml 5.2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.1
ocaml-compiler: 5.2
dune-cache: true
opam-depext-flags: "--with-doc"
allow-prerelease-opam: true

- name: Lint opam
uses: ocaml/setup-ocaml/lint-opam@v2
uses: ocaml/setup-ocaml/lint-opam@v3

lint-doc:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use OCaml 5.1
uses: ocaml/setup-ocaml@v2
- name: Use OCaml 5.2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.1
ocaml-compiler: 5.2
dune-cache: true
opam-depext-flags: "--with-doc"
allow-prerelease-opam: true

- name: Lint doc
uses: ocaml/setup-ocaml/lint-doc@v2
uses: ocaml/setup-ocaml/lint-doc@v3
10 changes: 5 additions & 5 deletions .github/workflows/opam-dependency-submission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ on:

jobs:
opam-dependency-submission:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
steps:
- name: Checkout tree
uses: actions/checkout@v4

- name: Set-up OCaml 5.1
uses: ocaml/setup-ocaml@v2
- name: Set-up OCaml 5.2
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: 5.1
ocaml-compiler: 5.2
dune-cache: true
allow-prerelease-opam: true

- name: Opam Dependency Submission
uses: ocaml/setup-ocaml/analysis@v2
uses: ocaml/setup-ocaml/analysis@v3

0 comments on commit e8d3aa2

Please sign in to comment.