Skip to content

Merge pull request #60 from mt-caret/first-class-exceptions #250

Merge pull request #60 from mt-caret/first-class-exceptions

Merge pull request #60 from mt-caret/first-class-exceptions #250

Workflow file for this run

name: Clippy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
clippy:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
ocaml-version: ["4.14.1"]
steps:
- uses: actions/checkout@v2
- name: OCaml/Opam cache
id: ocaml-interop-opam-cache
uses: actions/cache@v2
with:
path: "~/.opam"
key: ${{ matrix.os }}-${{ matrix.ocaml-version }}
- name: Setup OCaml ${{ matrix.ocaml-version }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-version }}
- name: Set Opam env
run: opam env | tr '\n' ' ' >> $GITHUB_ENV
- name: Add Opam switch to PATH
run: opam var bin >> $GITHUB_PATH
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
- name: lint
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features --features=without-ocamlopt