mirror of
https://github.com/mozilla-actions/sccache-action
synced 2026-09-14 20:13:56 +00:00
36 lines
668 B
YAML
36 lines
668 B
YAML
name: Test sccache
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
v0_3_3:
|
|
name: Test version 0.3.3
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os:
|
|
- ubuntu-latest
|
|
- windows-latest
|
|
- macos-lastest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Set Node.js 16.x
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16.x
|
|
|
|
- name: npm install
|
|
run: npm install
|
|
|
|
- name: Run sccache-cache
|
|
uses: ./
|
|
with:
|
|
version: "v0.3.3"
|
|
|
|
- name: Run sccache stat for check
|
|
shell: bash
|
|
run: ${SCCACHE_PATH} --show-stats
|