Skip to content

Float and Uniform array support #246

Float and Uniform array support

Float and Uniform array support #246

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