Skip to content

Implement action

Implement action #28

Workflow file for this run

name: test install
on:
push:
branches:
- install
pull_request:
branches:
- install
jobs:
run:
name: Install ${{ matrix.job.target }}
runs-on: ${{ matrix.job.os }}
strategy:
fail-fast: false
matrix:
job:
- target: x86_64-unknown-linux-gnu
os: ubuntu-22.04
- target: x86_64-pc-windows-msvc
os: windows-2022
- target: aarch64-apple-darwin
os: macos-14
- target: x86_64-apple-darwin
os: macos-12
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install
run: ${{ runner.os == 'Windows' && 'bash ' || '' }}${{ github.workspace }}${{ env.SEP }}main.sh
env:
SEP: ${{ runner.os == 'Windows' && '\' || '/' }}
VERSION: 1.11.0
# VERSION: latest
- name: Verify
run: hatch --version