Merge pull request #16 from PHACDataHub/docker-publish #21
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ULID Tool Build | |
on: | |
push: | |
paths: | |
- 'tools/ulid/**' | |
pull_request: | |
paths: | |
- 'tools/ulid/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Rust | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
profile: minimal | |
override: true | |
- name: Build ULID Tool | |
run: | | |
cd tools/ulid | |
cargo build --verbose | |
- name: Run Tests | |
run: | | |
cd tools/ulid | |
cargo test --verbose |