mirror of
https://github.com/bsedin/matrix-webhook.git
synced 2026-01-15 23:55:57 +00:00
Let's try gitea
Some checks failed
Publish on Docker Hub / docker-hub (push) Failing after 5m57s
Test entrypoints / test-entrypoints (push) Failing after 7m6s
Lints / lint (push) Failing after 1m29s
Nix CI / Nix build on ${{ matrix.os }} (ubuntu) (push) Failing after 2m11s
Tests / tests (push) Failing after 2m24s
Nix CI / Nix build on ${{ matrix.os }} (macos) (push) Has been cancelled
Some checks failed
Publish on Docker Hub / docker-hub (push) Failing after 5m57s
Test entrypoints / test-entrypoints (push) Failing after 7m6s
Lints / lint (push) Failing after 1m29s
Nix CI / Nix build on ${{ matrix.os }} (ubuntu) (push) Failing after 2m11s
Tests / tests (push) Failing after 2m24s
Nix CI / Nix build on ${{ matrix.os }} (macos) (push) Has been cancelled
This commit is contained in:
parent
2f76ae3eb8
commit
2f40140500
12
.gitea/dependabot.yml
Normal file
12
.gitea/dependabot.yml
Normal file
@ -0,0 +1,12 @@
|
||||
version: 2
|
||||
|
||||
updates:
|
||||
|
||||
- package-ecosystem: "github-actions"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
- package-ecosystem: "pip"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "monthly"
|
||||
33
.gitea/workflows/docker-hub.yml
Normal file
33
.gitea/workflows/docker-hub.yml
Normal file
@ -0,0 +1,33 @@
|
||||
name: Publish on Docker Hub
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
tags:
|
||||
- 'v*'
|
||||
|
||||
jobs:
|
||||
docker-hub:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: docker/metadata-action@v5
|
||||
id: meta
|
||||
with:
|
||||
images: nim65s/matrix-webhook
|
||||
- uses: docker/setup-qemu-action@v3
|
||||
name: Set up QEMU
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
name: Set up Docker Buildx
|
||||
- uses: docker/login-action@v3
|
||||
with:
|
||||
username: nim65s
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
- uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
14
.gitea/workflows/entrypoint.yml
Normal file
14
.gitea/workflows/entrypoint.yml
Normal file
@ -0,0 +1,14 @@
|
||||
name: Test entrypoints
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
test-entrypoints:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
- run: python -m pip install -U pip
|
||||
- run: python -m pip install .
|
||||
- run: matrix-webhook -h
|
||||
- run: python -m matrix_webhook -h
|
||||
17
.gitea/workflows/lint.yml
Normal file
17
.gitea/workflows/lint.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: Lints
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: pipx install poetry
|
||||
- uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: '3.10'
|
||||
cache: poetry
|
||||
- run: poetry install --with dev --no-interaction
|
||||
- run: poetry run ruff format .
|
||||
- run: poetry run ruff check .
|
||||
- run: poetry run safety check --ignore 70612
|
||||
- run: poetry run poetry check
|
||||
17
.gitea/workflows/nix.yml
Normal file
17
.gitea/workflows/nix.yml
Normal file
@ -0,0 +1,17 @@
|
||||
name: "Nix CI"
|
||||
|
||||
on: [pull_request, push]
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
name: "Nix build on ${{ matrix.os }}"
|
||||
runs-on: "${{ matrix.os }}-latest"
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu, macos]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@main
|
||||
- uses: DeterminateSystems/flake-checker-action@main
|
||||
- run: nix build
|
||||
9
.gitea/workflows/test.yml
Normal file
9
.gitea/workflows/test.yml
Normal file
@ -0,0 +1,9 @@
|
||||
name: Tests
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: docker compose -f test.yml up --exit-code-from tests
|
||||
- uses: codecov/codecov-action@v4
|
||||
Loading…
Reference in New Issue
Block a user