chore(deps): update actions/checkout action to v4 #95
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
tags: '*' | |
pull_request: | |
concurrency: | |
# Skip intermediate builds: always. | |
# Cancel intermediate builds: only if it is a pull request build. | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
jobs: | |
test: | |
name: Test Bun-${{ matrix.bun-version }} + Julia-${{ matrix.julia-version }} on ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
julia-version: | |
- '1.8' | |
- '1.6' | |
bun-version: | |
- '0.5.0' | |
os: | |
- ubuntu-latest | |
arch: | |
- x64 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.25.x' | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: ${{ matrix.julia-version }} | |
arch: ${{ matrix.arch }} | |
- uses: xhyrom/[email protected] | |
with: | |
bun-version: ${{ matrix.bun-version }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: | | |
bun install && JULIA_NUM_THREADS=auto bun test | |
docs: | |
name: Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.25.x' | |
- uses: julia-actions/setup-julia@v1 | |
with: | |
version: '1.8' | |
arch: x64 | |
- uses: xhyrom/[email protected] | |
with: | |
bun-version: ${{ matrix.bun-version }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- run: | | |
bun install && bun typedoc | |
- uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./docs |