Create a file in .github/workflows/my-workflow.yml
and write this content:
name: something
on: [push, pull_request]
jobs:
my_job:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, ubuntu-20.04, macos-latest, windows-latest]
steps:
# ...
- name: Set up Pashmak
uses: pashmaklang/setup-pashmak@v1
with:
pashmak-version: 0.8.1
- name: Run the scripts
run: |
pashmak my-program.pashm
# ...
name: My Workflow
You should set pashmak-version
argument to the version of Pashmak that you want to install:
with:
pashmak-version: <version>
ubuntu-18.04
ubuntu-20.04
macos-latest
windows-latest