Skip to content

πŸ“ Update README #67

πŸ“ Update README

πŸ“ Update README #67

Workflow file for this run

name: Test Rust project
on: [push]
jobs:
check:
if: "!contains(github.event.head_commit.message, '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo check --verbose
test:
if: "!contains(github.event.head_commit.message, '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose
test-fastfloat:
if: "!contains(github.event.head_commit.message, '[SKIP CI]')"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, nightly]
steps:
- uses: rui314/setup-mold@v1
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust }}
- uses: actions/checkout@master
- name: Run tests
run: cargo test --verbose --features fastfloat
rustdoc:
runs-on: ubuntu-latest
needs: [check, test, test-fastfloat]
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Build Documentation
run: cargo doc --all --no-deps
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@364c31d33bb99327c77b3a5438a83a357a6729ad # v3.4.0
if: success() && github.ref == 'refs/heads/main' && !contains(github.event.head_commit.message, '[SKIP CI]')
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true