Skip to content

Update changelog

Update changelog #22

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
env:
ELIXIR_VERSION: 1.14
MIX_ENV: test
OTP_VERSION: 25.3
TSNE_BUILD: "true"
jobs:
test:
runs-on: ubuntu-latest
name: test
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
deps
_build
key: ${{ runner.os }}-mix-${{ hashFiles('**/mix.lock') }}
restore-keys: |
${{ runner.os }}-mix-
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
native/tsne_native/target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: erlef/setup-beam@v1
with:
otp-version: "${{ env.OTP_VERSION }}"
elixir-version: "${{ env.ELIXIR_VERSION }}"
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix test --warnings-as-errors
format:
runs-on: ubuntu-latest
name: mix format
steps:
- uses: actions/checkout@v2
- uses: erlef/setup-beam@v1
with:
otp-version: "${{ env.OTP_VERSION }}"
elixir-version: "${{ env.ELIXIR_VERSION }}"
- run: mix format --check-formatted