Skip to content

ci: use lfs for testing #31

ci: use lfs for testing

ci: use lfs for testing #31

Workflow file for this run

name: Rust
on:
push:
branches: ["master"]
tags:
- "*"
pull_request:
branches: ["master"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
lfs: 'true'
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run docs
run: cargo doc --no-deps
release:
permissions:
id-token: write
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: [build]
steps:
- uses: actions/checkout@v3
- name: cargo login
run: cargo login ${{ secrets.CRATES_IO_TOKEN }} && cargo publish