Skip to content

Build

Build #497

Workflow file for this run

name: Build
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
schedule:
# Every 10:42 JST
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule
- cron: '42 1 * * *'
workflow_dispatch:
jobs:
plugin-test:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
target:
- tool-version: 'latest'
command: 'makers --version && cargo-make make --version'
# https://github.com/kachick/asdf-cargo-make/blob/8a7095692e6a880568a5b48c441ea518ef6a61cb/bin/download#L12
# https://github.com/kachick/asdf-cargo-make/blob/8a7095692e6a880568a5b48c441ea518ef6a61cb/lib/utils.bash#L59-L61
- tool-version: '0.16.0'
# makers does not exist
command: 'cargo-make make --version'
runs-on: ${{ matrix.os }}
steps:
- uses: asdf-vm/actions/plugin-test@v3
with:
version: ${{ matrix.target.tool-version }}
command: ${{ matrix.target.command }}