Skip to content

Merge pull request #1 from ngortheone/example_simple #29

Merge pull request #1 from ngortheone/example_simple

Merge pull request #1 from ngortheone/example_simple #29

Workflow file for this run

on: [push, pull_request]
name: ci
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test Suite
env:
MELDA_SOLID_USERNAME: ${{ secrets.MELDA_SOLID_USERNAME }}
MELDA_SOLID_PASSWORD: ${{ secrets.MELDA_SOLID_PASSWORD }}
MELDA_SOLID_URL: ${{ secrets.MELDA_SOLID_URL }}
MELDA_SOLID_FOLDER: ${{ secrets.MELDA_SOLID_FOLDER }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: actions-rs/cargo@v1
with:
command: test
- uses: actions-rs/cargo@v1
with:
command: test
args: --doc
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add clippy
- uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -D warnings