Bump the cargo group across 1 directory with 4 updates #19
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: "Build project" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
rust: [stable, nightly] | |
steps: | |
- name: Set up a Rust toolchain | |
uses: hecrj/[email protected] | |
with: | |
rust-version: ${{ matrix.rust }} | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Build release | |
run: cargo build --release --verbose | |
- name: Strip release | |
run: strip target/release/escl-scan-cli | |
- name: Run tests | |
run: cargo test --verbose | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: escl-scan-cli_rust-${{ matrix.rust }}-${{ matrix.os }} | |
path: target/release/escl-scan-cli |