Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanjermakov committed Oct 20, 2023
1 parent c70d32b commit 10e3598
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: main

on:
- push
- pull_request

env:
RUSTFLAGS: "-Dwarnings"
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: |
rustup set auto-self-update disable
rustup toolchain install stable --profile minimal
- uses: Swatinem/rust-cache@v2

- name: Check
run: cargo check

- name: Test
run: cargo test --verbose

- name: Clippy
run: cargo clippy

0 comments on commit 10e3598

Please sign in to comment.