pre-commit-hooks/.github/workflows/main.yml
Anthony Sottile f45f36e8ff fix tags trigger for github actions
the old syntax worked for azure pipelines but not GHA

Committed via https://github.com/asottile/all-repos
2023-06-01 19:12:53 -04:00

19 lines
385 B
YAML

name: main
on:
push:
branches: [main, test-me-*]
tags: '*'
pull_request:
jobs:
main-windows:
uses: asottile/workflows/.github/workflows/tox.yml@v1.0.0
with:
env: '["py38"]'
os: windows-latest
main-linux:
uses: asottile/workflows/.github/workflows/tox.yml@v1.0.0
with:
env: '["py37", "py38", "py39", "py310"]'
os: ubuntu-latest