mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 18:50:10 +08:00
chore(test): update
This commit is contained in:
parent
bf40fde936
commit
a9318b00d5
26
.github/workflows/test.yml
vendored
26
.github/workflows/test.yml
vendored
@ -14,7 +14,30 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest, macos-latest]
|
os: [ubuntu-latest, macos-latest]
|
||||||
bun-version:
|
bun-version:
|
||||||
["latest", "0.1.4", "canary"]
|
["latest", "0.1.4"]
|
||||||
|
misc-test-builds:
|
||||||
|
[false]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||||
|
uses: ./
|
||||||
|
with:
|
||||||
|
bun-version: ${{ matrix.bun-version }}
|
||||||
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
misc-test-builds: ${{ matrix.misc-test-builds }}
|
||||||
|
|
||||||
|
- name: Try bun
|
||||||
|
run: |
|
||||||
|
bun --version
|
||||||
|
test-canary:
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest]
|
||||||
|
bun-version:
|
||||||
|
["canary"]
|
||||||
misc-test-builds:
|
misc-test-builds:
|
||||||
[false]
|
[false]
|
||||||
|
|
||||||
@ -23,7 +46,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
||||||
uses: ./
|
uses: ./
|
||||||
if: (${{ matrix.os }} == 'macos-latest' && ${{ matrix.bun-version }} != "canary") || ${{ matrix.os }} == 'ubuntu-latest'
|
|
||||||
with:
|
with:
|
||||||
bun-version: ${{ matrix.bun-version }}
|
bun-version: ${{ matrix.bun-version }}
|
||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user