Skip to content

First working version, supporting dice/disc API #3

First working version, supporting dice/disc API

First working version, supporting dice/disc API #3

Workflow file for this run

name: Rust CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
lint:
strategy:
matrix:
ocaml-compiler: ["4.14"]
runs-on: ubuntu-latest
steps:
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- uses: actions/checkout@v3
- run: cargo fmt --all -- --check
- run: cargo clippy --all
build:
name: build
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
ocaml-compiler: ["4.14"]
runs-on: ${{ matrix.os }}
steps:
- name: Set-up OCaml ${{ matrix.ocaml-compiler }}
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: ${{ matrix.ocaml-compiler }}
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose