Skip to content

Merge pull request #948 from Setheum-Labs/alfellati-patch-1 #377

Merge pull request #948 from Setheum-Labs/alfellati-patch-1

Merge pull request #948 from Setheum-Labs/alfellati-patch-1 #377

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: build-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Init
run: make init
- name: Build
run: make build
# test:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# target/
# key: test-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# - name: Init
# run: make init
# - name: Test
# run: make test
# clippy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/cache@v2
# with:
# path: |
# ~/.cargo/bin/
# ~/.cargo/registry/index/
# ~/.cargo/registry/cache/
# ~/.cargo/git/db/
# target/
# key: clippy-${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
# - name: Init
# run: make init
# - name: Clippy