Skip to content

chore: typo + missing reference link #34

chore: typo + missing reference link

chore: typo + missing reference link #34

Workflow file for this run

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: Cargo Target Cache
uses: actions/cache@v3
with:
path: target
key: cargo-target-${{ hashFiles('**/Cargo.toml') }}
restore-keys: |
cargo-target-${{ hashFiles('**/Cargo.toml') }}
cargo-target-
- name: Run tests
run: |
cd ${GITHUB_WORKSPACE}
cargo build --verbose
cargo run &
sleep 2
curl -vf http://localhost:3000 > /dev/null
curl -vf http://localhost:3000/p/semgrep > /dev/null
curl -vf http://localhost:3000/feed.xml > /dev/null