diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml deleted file mode 100644 index 9200dd7..0000000 --- a/.gitea/workflows/ci.yml +++ /dev/null @@ -1,74 +0,0 @@ -name: tests - -on: - push: - -paths-ignore: -- 'README.md' - -env: - CARGO_TERM_COLOR: always - -jobs: - fmt: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - run: sudo apt-get update - - run: sudo apt-get install -y cmake - - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - with: - components: rustfmt - - name: Rustfmt Check - uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1 - - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - run: sudo apt-get update - - run: sudo apt-get install -y cmake - - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - - name: Build - run: cargo build --verbose - - test: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - run: sudo apt-get update - - run: sudo apt-get install -y cmake - - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5 - with: - python-version: '3.13' - - name: Install yt-dlp - run: pip install yt-dlp - - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - - name: Run tests - run: cargo test --verbose --all-features - - clippy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - run: sudo apt-get update - - run: sudo apt-get install -y cmake - - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - with: - components: clippy - - name: Run clippy - run: cargo clippy - - pre-commit: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - run: sudo apt-get update - - run: sudo apt-get install -y cmake - - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5 - with: - python-version: '3.13' - - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - with: - components: rustfmt - - uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml deleted file mode 100644 index 06811a2..0000000 --- a/.gitea/workflows/renovate.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# yamllint disable rule:line-length - -name: renovate - -on: # yamllint disable-line rule:truthy - schedule: - - cron: "@daily" - push: - branches: - - main - -jobs: - renovate: - runs-on: [nas] - steps: - - name: Checkout - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - name: Self-hosted Renovate - uses: renovatebot/github-action@c21017a4a2fc9f42953bcc907e375a5a544557ec # v41.0.18 - with: - token: ${{ secrets.RENOVATE_TOKEN }} - env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL|GITHUB_COM_TOKEN)$" - env: - LOG_LEVEL: "info" - GITHUB_COM_TOKEN: ${{ secrets.CI_GITHUB_TOKEN }} - RENOVATE_PLATFORM: "gitea" - RENOVATE_GIT_AUTHOR: "Renovate Bot " - RENOVATE_GIT_EMAIL: "renovate@boosted.science" - RENOVATE_ENDPOINT: "https://gitea.jheuel.boosted.science/api/v1/" - RENOVATE_AUTODISCOVER: "true" - RENOVATE_OPTIMIZE_FOR_DISABLED: "true" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4453b10..705feac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ env: jobs: fmt: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: sudo apt-get update @@ -22,7 +22,7 @@ jobs: uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1 build: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: sudo apt-get update @@ -32,7 +32,7 @@ jobs: run: cargo build --verbose test: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: sudo apt-get update @@ -47,7 +47,7 @@ jobs: run: cargo test --verbose --all-features clippy: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: sudo apt-get update @@ -59,7 +59,7 @@ jobs: run: cargo clippy pre-commit: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - run: sudo apt-get update diff --git a/.gitea/workflows/deploy.yaml b/.github/workflows/deploy.yaml similarity index 93% rename from .gitea/workflows/deploy.yaml rename to .github/workflows/deploy.yaml index cc07d1f..5553086 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -5,12 +5,9 @@ on: branches: - main -paths-ignore: -- 'README.md' - jobs: release-image: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Set up QEMU uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3 diff --git a/renovate.json b/renovate.json deleted file mode 100644 index c4ec35d..0000000 --- a/renovate.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "timezone": "Europe/Berlin", - "extends": [ - "config:recommended", - "helpers:pinGitHubActionDigests", - ":configMigration", - ":pinDevDependencies", - ":dependencyDashboard", - "docker:pinDigests", - "preview:dockerCompose", - "preview:dockerVersions" - ], - "packageRules": [ - { - "matchUpdateTypes": [ - "minor", - "patch", - "pin", - "digest" - ], - "automerge": true - } - ] -}