2022-07-11 09:45:23 +02:00
|
|
|
name: test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
pull_request:
|
|
|
|
branches: [main]
|
2022-07-12 09:08:38 +02:00
|
|
|
workflow_dispatch:
|
2022-07-11 09:45:23 +02:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest, macos-latest]
|
|
|
|
bun-version:
|
2022-07-25 22:48:11 +02:00
|
|
|
["latest", "0.1.4"]
|
|
|
|
|
|
|
|
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 }}
|
|
|
|
|
|
|
|
- name: Try bun
|
|
|
|
run: |
|
|
|
|
bun --version
|
2022-07-28 07:50:56 +02:00
|
|
|
test-version-canary:
|
2022-07-25 22:48:11 +02:00
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest]
|
|
|
|
bun-version:
|
|
|
|
["canary"]
|
2022-07-11 09:45:23 +02:00
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
2022-07-12 18:39:58 +02:00
|
|
|
- name: Setup Bun - Test Builds * ${{ matrix.misc-test-builds }}
|
2022-07-11 09:45:23 +02:00
|
|
|
uses: ./
|
|
|
|
with:
|
|
|
|
bun-version: ${{ matrix.bun-version }}
|
|
|
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
|
|
|
|
- name: Try bun
|
2022-07-12 22:08:16 +02:00
|
|
|
run: |
|
2022-07-13 07:50:55 +02:00
|
|
|
bun --version
|
2022-07-28 07:50:56 +02:00
|
|
|
test-custom-download-url:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest]
|
|
|
|
bun-version:
|
|
|
|
["latest"]
|
|
|
|
custom-download-url:
|
|
|
|
["https://github.com/oven-sh/bun/suites/7555351912/artifacts/311939881"]
|
|
|
|
|
|
|
|
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 }}
|
|
|
|
custom-download-url: ${{ matrix.custom-download-url }}
|
|
|
|
|
|
|
|
- name: Try bun
|
|
|
|
run: |
|
|
|
|
bun --version
|
|
|
|
test-custom-repository:
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
|
|
|
os: [ubuntu-latest]
|
|
|
|
bun-version:
|
|
|
|
["latest"]
|
|
|
|
repository:
|
|
|
|
["https://github.com/oven-sh/misc-test-builds"]
|
|
|
|
|
|
|
|
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 }}
|
|
|
|
repository: ${{ matrix.repository }}
|
|
|
|
|
|
|
|
- name: Try bun
|
|
|
|
run: |
|
|
|
|
bun --version
|