Bump github/codeql-action from 3.25.7 to 3.25.8 #3613
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Builds, tests & co | |
on: | |
pull_request: | |
push: | |
schedule: | |
# Prime the caches every Monday | |
- cron: 0 1 * * MON | |
permissions: read-all | |
jobs: | |
hygiene: | |
name: Hygiene | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Set-up Node.js | |
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2 | |
with: | |
node-version: latest | |
- run: corepack enable | |
- run: yarn install --immutable | |
- if: always() | |
run: yarn ci | |
- if: always() | |
run: yarn typecheck | |
- name: Ensure dist directory is up-to-date | |
if: always() | |
run: yarn build && git diff --exit-code --ignore-cr-at-eol | |
test: | |
name: Test | |
needs: hygiene | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
ocaml-compiler: | |
- "5.2" | |
allow-prerelease-opam: | |
- false | |
include: | |
- os: windows-latest | |
ocaml-compiler: ocaml-variants.5.2.0+options,ocaml-option-mingw | |
allow-prerelease-opam: false | |
opam-repositories: | | |
windows-5.0: https://github.com/dra27/opam-repository.git#windows-5.0 | |
sunset: https://github.com/ocaml-opam/opam-repository-mingw.git#sunset | |
default: https://github.com/ocaml/opam-repository.git | |
- os: ubuntu-latest | |
ocaml-compiler: ocaml-variants.5.2.0+options,ocaml-option-flambda | |
allow-prerelease-opam: true | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout tree | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Set-up OCaml ${{ matrix.ocaml-compiler }} | |
uses: ./ | |
with: | |
ocaml-compiler: ${{ matrix.ocaml-compiler }} | |
allow-prerelease-opam: ${{ matrix.allow-prerelease-opam }} | |
dune-cache: ${{ runner.os != 'Windows' }} | |
opam-repositories: ${{ matrix.opam-repositories }} | |
- run: opam depext --install uri |