20 lines
533 B
YAML
20 lines
533 B
YAML
name: GitHub Actions Example
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
jobs:
|
|
build:
|
|
runs-on: self-hosted
|
|
strategy:
|
|
matrix:
|
|
python-version: ["pypy3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
ref: ${{ github.head_ref }}
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: check python version
|
|
run: python --version |