fix(ops/Deploy): don't use absolute path in symlink #1382
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Fadroma (Rust) | |
jobs: | |
#docs: | |
#name: Rust documentation | |
#runs-on: ubuntu-latest | |
#steps: | |
#- name: Install stable toolchain | |
#uses: actions-rs/toolchain@v1 | |
#with: | |
#{ | |
#profile: minimal, | |
#toolchain: 1.58.1, | |
#target: wasm32-unknown-unknown, | |
#override: true, | |
#} | |
#- name: Checkout sources | |
#uses: actions/checkout@v2 | |
#with: { submodules: true } | |
#- name: Prepare workspace | |
#run: cp Workspace.toml Cargo.toml | |
#- uses: Swatinem/rust-cache@v1 | |
#- name: Generate documentation | |
#run: cargo doc | |
coverage: | |
name: Run unit tests and publish coverage report | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install toolchain that works with Tarpaulin | |
uses: actions-rs/toolchain@v1 | |
with: | |
{ | |
profile: minimal, | |
toolchain: stable, | |
target: wasm32-unknown-unknown, | |
override: true, | |
} | |
- uses: Swatinem/rust-cache@v1 | |
- name: Checkout sources | |
uses: actions/checkout@v2 | |
with: { submodules: true } | |
- name: Prepare workspace | |
run: cp _Cargo.toml Cargo.toml | |
- name: Run cargo-tarpaulin | |
uses: actions-rs/[email protected] | |
with: | |
version: '0.18.3' | |
args: '--workspace --ignore-panics --ignore-tests --exclude-files=platforms/* --coveralls ${{secrets.COVERALLS_REPO_TOKEN}} --exclude-files platforms' |