aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/ci.yaml
blob: 7fcea519200d0ff60758467449d2b0f6b23a56cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: CI

on:
  pull_request:
    branches:
    - '*'
  push:
    branches:
    - main

defaults:
  run:
    shell: bash

jobs:
  all:
    name: All

    runs-on: ${{ matrix.os }}

    strategy:
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]

    steps:
    - uses: actions/checkout@v4

    - uses: sigoden/install-binary@v1
      with:
        repo: sigoden/argc

    - name: Check versions
      run: argc version

    - name: Setup Node.js
      uses: actions/setup-node@v4

    - name: Setup Python
      uses: actions/setup-python@v5
      with:
        python-version: '3.11' 

    - name: Run Test
      run: argc test