Skip to content

Commit

Permalink
ci: add basic ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed May 23, 2024
1 parent 7539f60 commit 7d859b3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on: push

env:
CARGO_TERM_COLOR: always

jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Cache dependencies
uses: actions/cache@v3
with:
path: ~/.cargo
key: cargo-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
cargo-${{ hashFiles('**/Cargo.toml') }}
cargo-
- name: Run tests
run: |
cd ${GITHUB_WORKSPACE}
cargo build --verbose
cargo run &
curl -f localhost:3000 > /dev/null
curl -f localhost:3000/p/semgrep > /dev/null
Binary file modified content/assets/resume.pdf
Binary file not shown.

0 comments on commit 7d859b3

Please sign in to comment.