Skip to content

Commit

Permalink
add rust ci
Browse files Browse the repository at this point in the history
  • Loading branch information
untitaker committed Jan 17, 2024
1 parent 3690356 commit 8d15a0a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Rust

on:
push:
branches:
- main
- release/**

pull_request:

jobs:
lint:
name: "Linting"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Run linter
run: cd rust-arroyo && cargo check && cargo fmt --check

test:
name: "Tests"
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
name: Checkout code
- name: Run tests
run: cd rust-arroyo && cargo test

0 comments on commit 8d15a0a

Please sign in to comment.