diff --git a/.github/FUNDING.yml b/.github/FUNDING.yaml similarity index 100% rename from .github/FUNDING.yml rename to .github/FUNDING.yaml diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml new file mode 100644 index 0000000..2390d8c --- /dev/null +++ b/.github/dependabot.yaml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "monthly" + groups: + github-actions: + patterns: + - "*" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml new file mode 100644 index 0000000..a4ddc99 --- /dev/null +++ b/.github/workflows/test.yaml @@ -0,0 +1,37 @@ +name: "🔬 Test" + +on: + pull_request: + push: + branches: + - "main" + - "releases" + +jobs: + test: + name: + "${{ + (startswith(matrix.runner, 'ubuntu') && 'Linux') + || (startswith(matrix.runner, 'macos') && 'macOS') + || (startswith(matrix.runner, 'windows') && 'Windows') + }}" + + strategy: + matrix: + runner: + - "ubuntu-latest" + - "macos-latest" + - "windows-latest" + cpythons: + - - "3.8" + - "3.9" + - "3.10" + - "3.11" + - "3.12" + cache: + - hash-files: + - "pyproject.toml" + + uses: "kurtmckee/github-workflows/.github/workflows/tox.yaml@73024397dba10c866931a1d26cc2a0e7d223472f" # v0.2 + with: + config: "${{ toJSON(matrix) }}"