This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
build(deps): bump tempfile from 3.5.0 to 3.6.0 #891
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: Rust CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
fmt_clippy: | |
name: Fmt & Clippy Checks | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# Cache Rust builds between runs | |
- uses: Swatinem/rust-cache@v2 | |
- name: Run Rust check + clippy | |
run: make rust-check | |
unit_tests: | |
name: Unit Tests | |
strategy: | |
fail-fast: false # Ensure we can run the full suite even if one OS fails | |
matrix: | |
os: [ubuntu-22.04, windows-2022, macos-11] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
# Cache Rust builds between runs | |
- uses: Swatinem/rust-cache@v2 | |
with: | |
# Additional key to ensure OS specific caches are separated | |
key: "${{ matrix.os }}-cache" | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- name: Run all wash & wash-lib unit tests | |
run: make test-wash-ci | |
integration_tests: | |
name: Integration Tests | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
# Cache Rust builds between runs | |
- uses: Swatinem/rust-cache@v2 | |
- uses: acifani/setup-tinygo@v1 | |
with: | |
tinygo-version: '0.27.0' | |
install-binaryen: 'false' | |
- name: Add wasm32-unknown-unknown | |
run: rustup target add wasm32-unknown-unknown | |
- name: Launch integration test services | |
uses: sudo-bot/action-docker-compose@latest | |
with: | |
cli-args: "-f ./tools/docker-compose.yml up --detach" | |
- name: Install nextest | |
uses: taiki-e/install-action@nextest | |
- name: Run integration tests | |
run: make test-integration-ci |