Skip to content

Commit

Permalink
Create rust.yml (#15)
Browse files Browse the repository at this point in the history
* Create rust.yml

* Use API_KEY in tests
  • Loading branch information
Jeadie authored Nov 13, 2023
1 parent 40e69f9 commit cd27a0e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
env:
API_KEY: ${{ secrets.TEST_API_KEY }}

0 comments on commit cd27a0e

Please sign in to comment.