Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub Actions #1078

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Changelog check

on:
pull_request:
branches: [ master ]
types: [ opened, synchronize, reopened, labeled, unlabeled ]
branches: [master]
types: [opened, synchronize, reopened, labeled, unlabeled]

jobs:
Changelog-Entry-Check:
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ jobs:
env:
NIXPKGS_ALLOW_INSECURE: 1
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: |
nix develop -c dune build @runtest @check
- name: Checkout tree
uses: actions/checkout@v4
with:
submodules: true
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- run: nix develop -c dune build @runtest @check
52 changes: 24 additions & 28 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- 4.14
- 5.x
- "4.14"
- "5"
local-packages:
- |
*.opam
Expand All @@ -35,21 +35,19 @@ jobs:
runs-on: ${{ matrix.os }}

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os == 'ubuntu-latest' }}
opam-depext: true
opam-depext-flags: --with-test
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}

- run: |
sudo apt-get update && sudo apt-get upgrade
opam depext conf-libcurl
opam install conf-libcurl
if: ${{ matrix.os == 'ubuntu-latest' }}

- run: echo "PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig" >>"$GITHUB_ENV"
Expand All @@ -68,8 +66,8 @@ jobs:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- 4.14
- 5.x
- "4.14"
- "5"
local-packages:
- |
*.opam
Expand All @@ -85,21 +83,19 @@ jobs:
runs-on: ${{ matrix.os }}

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os == 'ubuntu-latest' }}
opam-depext: true
opam-depext-flags: --with-test
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}

- run: |
sudo apt-get update && sudo apt-get upgrade
opam depext conf-libcurl
opam install conf-libcurl
if: ${{ matrix.os == 'ubuntu-latest' }}

- run: echo "PKG_CONFIG_PATH=$(brew --prefix openssl)/lib/pkgconfig" >>"$GITHUB_ENV"
Expand All @@ -118,7 +114,7 @@ jobs:
- ubuntu-latest
- macos-latest
ocaml-compiler:
- 5.x
- "5"
local-packages:
- |
http.opam
Expand All @@ -128,14 +124,14 @@ jobs:
runs-on: ${{ matrix.os }}

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os == 'ubuntu-latest' }}
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
Expand All @@ -153,22 +149,22 @@ jobs:
os:
- ubuntu-latest
ocaml-compiler:
- 5.x
- "5"
local-packages:
- |
*.opam

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

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

- name: Use OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v3
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
dune-cache: ${{ matrix.os == 'ubuntu-latest' }}
dune-cache: true
opam-local-packages: ${{ matrix.local-packages }}
opam-repositories: |
default: https://github.com/ocaml/opam-repository.git
Expand Down
Loading