move to forgejo
This commit is contained in:
parent
a5dba22d72
commit
ee7ef8cb41
3 changed files with 25 additions and 27 deletions
24
.forgejo/dependabot.yml
Normal file
24
.forgejo/dependabot.yml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
target-branch: "next"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
prefix: "gh-action"
|
||||
labels:
|
||||
- "gh-action"
|
||||
- "dependencies"
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
target-branch: "next"
|
||||
schedule:
|
||||
interval: "weekly"
|
||||
commit-message:
|
||||
prefix: "python"
|
||||
labels:
|
||||
- "python"
|
||||
- "dependencies"
|
||||
25
.forgejo/workflows/tests.yml
Normal file
25
.forgejo/workflows/tests.yml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Run tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- next
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: docker
|
||||
container:
|
||||
image: debian:stable
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
#go-version: "stable"
|
||||
go-version-file: "go.mod"
|
||||
check-latest: true
|
||||
- name: Run tests
|
||||
run: make test
|
||||
|
||||
27
.github/workflows/tests.yml
vendored
27
.github/workflows/tests.yml
vendored
|
|
@ -1,27 +0,0 @@
|
|||
name: Run tests
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- next
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
version: [3.10, 3.11, 3.12]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "${{ matrix.version }}"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install --upgrade pip setuptools wheel
|
||||
# install actual deps and dev deps from pyproject.toml
|
||||
- name: Run tests
|
||||
run: make test
|
||||
Loading…
Reference in a new issue