Skip to content

Commit

Permalink
Merge pull request #2 from modal-labs/dflemstr/ci-config
Browse files Browse the repository at this point in the history
Add basic CI config
  • Loading branch information
dflemstr authored Oct 29, 2024
2 parents 4b86d70 + d4d1084 commit 15eacd6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Build
run: cargo build --all
- name: Run tests
run: cargo test --all
build-tokio:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Protoc
uses: arduino/setup-protoc@v3
- name: Build
run: cargo build --all --features=tokio
- name: Run tests
run: cargo test --all --features=tokio

0 comments on commit 15eacd6

Please sign in to comment.