Skip to content

fix: dev

fix: dev #159

Workflow file for this run

name: Cargo Check
on:
push:
branches:
- dev
- stage
- main
jobs:
check:
runs-on:
labels: movement-runner
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.CI_PAT }}
- name: Setup
uses: ./.github/actions/setup-linux-x86_64
- name: Cache cargo registry
uses: actions/cache@v2
with:
path: ~/.cargo/registry
key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo index
uses: actions/cache@v2
with:
path: ~/.cargo/git
key: ${{ runner.os }}-cargo-git-${{ hashFiles('**/Cargo.lock') }}
- name: Cache cargo build
uses: actions/cache@v2
with:
path: ./m1/target
key: ${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}
- name: Run Cargo Check
working-directory: ./m1
run: cargo check
tigger-test:
needs: check
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
submodules: 'recursive'
token: ${{ secrets.CI_PAT }}
ref: ${{ github.event.inputs.branch }}
- name: Trigger test
uses: ./.github/actions/trigger-workflow
with:
workflowFileName: test.yml
token: ${{ secrets.CI_PAT }}