Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FYI: matrix builds #13

Open
seriousme opened this issue Aug 14, 2021 · 0 comments
Open

FYI: matrix builds #13

seriousme opened this issue Aug 14, 2021 · 0 comments

Comments

@seriousme
Copy link

Hi,

it might be convenient to document in the Readme how to test multiple versions using matrix builds, e.g.:

# This workflow will test on Deno lastest stable major and canary
# see https://github.com/marketplace/actions/setup-deno for details
name: Deno CI
on: [push, pull_request]
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        deno-version: [vx.x.x, canary]
    steps:
    - uses: actions/checkout@v2
    - name: Use Deno ${{ matrix.deno-version }}
      uses: denoland/setup-deno@v1
    - run: deno test

I have this working at https://github.com/seriousme/durable-data/blob/master/.github/workflows/deno-ci.yml

Kind regards,
Hans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant