Skip to content

Fix typo and add test scripts #12

Fix typo and add test scripts

Fix typo and add test scripts #12

Workflow file for this run

name: Rust builds
on: push
env:
CARGO_TERM_COLOR: always
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build release
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: linux
path: target/release/searcher-txt
overwrite: true
build-win:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Build release
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: windows
path: target/release/searcher-txt.exe
overwrite: true
build-mac:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Build release
run: cargo build --release --verbose
- name: Run tests
run: cargo test --verbose
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4
with:
name: macos
path: target/release/searcher-txt
overwrite: true