Skip to content

chore: bump exon to v0.35.2 (#78) #107

chore: bump exon to v0.35.2 (#78)

chore: bump exon to v0.35.2 (#78) #107

Workflow file for this run

name: CI
on:
push:
branches: [main]
paths-ignore:
- "*.md"
- "LICENSE"
- ".gitignore"
- ".claude/**"
pull_request:
branches: [main]
paths-ignore:
- "*.md"
- "LICENSE"
- ".gitignore"
- ".claude/**"
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
include:
- os: macos-15
platform: aarch64-apple-darwin
- os: ubuntu-24.04
platform: x86_64-linux-gnu
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v6
- name: Resolve tool versions
id: tool-versions
shell: bash
run: |
sed -n 's/^"vfox:misut\/mise-intron"[[:space:]]*=[[:space:]]*"\([^"]*\)"$/intron=\1/p' mise.toml >> "$GITHUB_OUTPUT"
sed -n 's/^"vfox:misut\/mise-exon"[[:space:]]*=[[:space:]]*"\([^"]*\)"$/exon=\1/p' mise.toml >> "$GITHUB_OUTPUT"
- name: Restore toolchains
id: toolchain-cache
uses: actions/cache/restore@v5
with:
path: ~/.intron/toolchains
key: intron-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('mise.toml', '.intron.toml') }}
- name: Install intron
run: |
gh release download v${{ steps.tool-versions.outputs.intron }} -R misut/intron -p "intron-*-${{ matrix.platform }}.tar.gz"
tar xzf intron-*.tar.gz && sudo mv intron /usr/local/bin/ && rm intron-*.tar.gz
env:
GH_TOKEN: ${{ github.token }}
- name: Install toolchains
run: |
intron install
- name: Save toolchains
if: github.ref == 'refs/heads/main' && steps.toolchain-cache.outputs.cache-hit != 'true'
uses: actions/cache/save@v5
with:
path: ~/.intron/toolchains
key: ${{ steps.toolchain-cache.outputs.cache-primary-key }}
- name: Install exon
run: |
gh release download v${{ steps.tool-versions.outputs.exon }} -R misut/exon -p "exon-*-${{ matrix.platform }}.tar.gz"
tar xzf exon-*.tar.gz && sudo mv exon /usr/local/bin/ && rm exon-*.tar.gz
env:
GH_TOKEN: ${{ github.token }}
- name: Build and test
run: intron exec -- exon test