Skip to content

add: switch ci/cd to self-hosted #11

add: switch ci/cd to self-hosted

add: switch ci/cd to self-hosted #11

Workflow file for this run

---
name: Cargo Test
on:
push
jobs:
check:
name: Check
runs-on: self-hosted
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Use rust caching
uses: Swatinem/rust-cache@v1
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check
test:
name: Test Suite
runs-on: self-hosted
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- name: Use rust caching
uses: Swatinem/rust-cache@v1
- name: Run cargo test
uses: actions-rs/cargo@v1
with:
command: test