uplink-sys,uplink(release): Release new versions #162
Workflow file for this run
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: uplink | |
on: | |
push: | |
branches: main | |
paths: | |
- 'uplink/**' | |
- 'Cargo.lock' | |
- 'Cargo.toml' | |
- 'docker-compose.yaml' | |
- 'Makefile' | |
pull_request: | |
paths: | |
- 'uplink/**' | |
- 'Cargo.lock' | |
- 'Cargo.toml' | |
- 'docker-compose.yaml' | |
- 'Makefile' | |
env: | |
# Show colors for cargo output | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-implementation: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: uplink | |
steps: | |
- name: Checkouts repository | |
uses: actions/checkout@v2 | |
- name: Build uplink-sys | |
run: make build | |
working-directory: . | |
- name: Lint | |
run: make lint | |
env: | |
RUST_BACKTRACE: full | |
- name: Clean up | |
if: always() | |
run: make clean | |
- name: Publish crate simulation | |
run: make publish-test | |
test-implementation: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: uplink | |
steps: | |
- name: Checkouts repository | |
uses: actions/checkout@v2 | |
- name: Build uplink-sys | |
run: make build | |
working-directory: . | |
- name: Run tests | |
run: make test | |
- name: Clean up | |
if: always() | |
run: make clean |