From ee7ef8cb419fb495fc3dcdd1f5c7ba2b554b8174 Mon Sep 17 00:00:00 2001 From: "Ricardo (XenGi) Band" Date: Sun, 19 Nov 2023 21:11:56 +0100 Subject: [PATCH] move to forgejo --- {.github => .forgejo}/dependabot.yml | 0 .forgejo/workflows/tests.yml | 25 +++++++++++++++++++++++++ .github/workflows/tests.yml | 27 --------------------------- 3 files changed, 25 insertions(+), 27 deletions(-) rename {.github => .forgejo}/dependabot.yml (100%) create mode 100644 .forgejo/workflows/tests.yml delete mode 100644 .github/workflows/tests.yml diff --git a/.github/dependabot.yml b/.forgejo/dependabot.yml similarity index 100% rename from .github/dependabot.yml rename to .forgejo/dependabot.yml diff --git a/.forgejo/workflows/tests.yml b/.forgejo/workflows/tests.yml new file mode 100644 index 0000000..b7817ea --- /dev/null +++ b/.forgejo/workflows/tests.yml @@ -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 + diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml deleted file mode 100644 index 6a84d96..0000000 --- a/.github/workflows/tests.yml +++ /dev/null @@ -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