Skip to content

Slackbot handles mentions #550

Slackbot handles mentions

Slackbot handles mentions #550

name: Build and Test (core)
on:
push:
paths:
- core/**
- .github/workflows/build-and-test-core.yml
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Install minimal stable
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
- name: checkout
uses: actions/checkout@v3
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Rust Cache
uses: Swatinem/rust-cache@v2
with:
workspaces: core
- name: Lint
working-directory: core
run: cargo fmt --all -- --check
- name: Test
working-directory: core
run: cargo test --all