Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
imarkov committed Oct 24, 2021
1 parent 4d03c5b commit dee30d6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Rust

on:
push:
branches:
- master
pull_request:
# schedule:
# - cron: '50 5 * * *'

jobs:
compile:
name: Compile
runs-on: ubuntu-latest
steps:
- name: Setup | Checkout
uses: actions/checkout@v2
- name: Setup | Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt, clippy
- name: Setup | Std
run: rustup component add rust-src --toolchain stable-x86_64-unknown-linux-gnu
- name: Setup | Default to stable
run: rustup default stable
- name: Build | Fmt Check
run: cargo fmt -- --check
- name: Build | Clippy
run: cargo clippy --no-deps --workspace
- name: Build | Compile
run: cargo build --workspace

0 comments on commit dee30d6

Please sign in to comment.