Skip to content

Commit

Permalink
feat: add GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jebrosen committed Dec 14, 2024
1 parent 983d418 commit 364923f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
rocket_oauth2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --workspace
- name: Run tests
run: cargo test --workspace
rocket_tls_compat_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cd rocket_tls_compat_check && cargo build --workspace
- name: Run tests
run: cd rocket_tls_compat_check && cargo test --workspace

0 comments on commit 364923f

Please sign in to comment.