Skip to content

Bump DeterminateSystems/nix-installer-action from 10 to 13 #562

Bump DeterminateSystems/nix-installer-action from 10 to 13

Bump DeterminateSystems/nix-installer-action from 10 to 13 #562

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:
asdf:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-14 # M1
- macos-13 # Intel
target:
- tool-version: 'latest'
command: 'yamlfmt -help'
- tool-version: '0.1.0'
# makers does not exist
command: 'yamlfmt -help'
runs-on: ${{ matrix.os }}
steps:
- uses: asdf-vm/actions/plugin-test@v3
with:
version: ${{ matrix.target.tool-version }}
command: ${{ matrix.target.command }}
mise:
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-14 # M1
- macos-13 # Intel
target:
- command: 'mise x yamlfmt@latest -- yamlfmt -help'
- command: 'mise x yamlfmt@0.1.0 -- yamlfmt -help'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@d6e32c1796099e0f1f3ac741c220a8b7eae9e5dd # v2.0.6
with:
install: false
# Enabling plugin cache in mise-action made many problems, should be avoided
# https://github.com/kachick/asdf-cargo-make/pull/77
# https://github.com/jdx/rtx-action/issues/211
# https://github.com/kachick/asdf-zigmod/pull/138/commits/e47254c4d99a2f13d4265522290bbec12c3466cb
cache: false
- name: Setup mise
run: |
mise plugins install yamlfmt 'https://github.com/${{ github.repository }}.git#${{ github.ref }}'
- name: Test
run: |
${{ matrix.target.command }}