This repository has been archived by the owner on Nov 16, 2024. It is now read-only.
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows #223
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: Rust | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- run: rustup target add wasm32-unknown-unknown | |
- uses: actions/checkout@v2 | |
- run: cargo build --verbose --release --target wasm32-unknown-unknown | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Cargo.lock | |
path: Cargo.lock | |
test: | |
needs: build | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
# https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on | |
os: [windows-latest, ubuntu-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/download-artifact@v4.1.7 | |
with: | |
name: Cargo.lock | |
- run: cargo test --verbose --release --locked |