Skip to content

Commit

Permalink
ci: add rust ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Quozul committed Mar 15, 2024
1 parent 3aab04f commit d85732e
Show file tree
Hide file tree
Showing 2 changed files with 160 additions and 169 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Rust

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build

check:
name: check
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Run linter
run: cargo check
Loading

0 comments on commit d85732e

Please sign in to comment.