Skip to content

test: add a new test case for global cache #46

test: add a new test case for global cache

test: add a new test case for global cache #46

Workflow file for this run

name: Rust
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
strategy:
matrix:
os:
# - ubuntu-latest
# - macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Prepare fixtures
run: |
corepack enable
cd fixtures/global-cache
yarn install
- name: Build
run: cargo build
- name: Run tests
run: cargo test -- --nocapture