mirror of
https://github.com/fluencelabs/trust-graph
synced 2024-12-04 23:30:19 +00:00
36 lines
621 B
YAML
36 lines
621 B
YAML
|
name: Run tests
|
||
|
|
||
|
on:
|
||
|
pull_request:
|
||
|
paths-ignore:
|
||
|
- "**.md"
|
||
|
|
||
|
push:
|
||
|
branches:
|
||
|
- "master"
|
||
|
|
||
|
concurrency:
|
||
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
||
|
cancel-in-progress: true
|
||
|
|
||
|
jobs:
|
||
|
trust-graph:
|
||
|
uses: ./.github/workflows/tests.yml
|
||
|
|
||
|
lints:
|
||
|
name: lints
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout sources
|
||
|
uses: actions/checkout@v3
|
||
|
|
||
|
- name: Setup rust toolchain
|
||
|
uses: actions-rust-lang/setup-rust-toolchain@v1
|
||
|
|
||
|
- name: Run cargo fmt
|
||
|
uses: actions-rs/cargo@v1
|
||
|
with:
|
||
|
command: fmt
|
||
|
args: --all -- --check
|