azure pipelines -> github actions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
new file mode 100644
index 0000000..5ffdb81
--- /dev/null
+++ b/.github/workflows/main.yml
@@ -0,0 +1,19 @@
+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
diff --git a/README.md b/README.md
index 9aa966d..3b3b330 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-[](https://asottile.visualstudio.com/asottile/_build/latest?definitionId=17&branchName=main)
-[](https://dev.azure.com/asottile/asottile/_build/latest?definitionId=17&branchName=main)
+[](https://github.com/pre-commit/pre-commit-hooks/actions/workflows/main.yml)
[](https://results.pre-commit.ci/latest/github/pre-commit/pre-commit-hooks/main)
pre-commit-hooks
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
deleted file mode 100644
index 117b014..0000000
--- a/azure-pipelines.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-trigger:
- branches:
- include: [main, test-me-*]
- tags:
- include: ['*']
-
-resources:
- repositories:
- - repository: asottile
- type: github
- endpoint: github
- name: asottile/azure-pipeline-templates
- ref: refs/tags/v2.4.0
-
-jobs:
-- template: job--python-tox.yml@asottile
- parameters:
- toxenvs: [py38]
- os: windows
-- template: job--python-tox.yml@asottile
- parameters:
- toxenvs: [py37, py38, py39, py310]
- os: linux