7 Commits

Author SHA1 Message Date
48fa87a535 Merge pull request 'Update rust:slim-bullseye Docker digest to f635d98' (#53) from renovate/rust-slim-bullseye into main
Some checks failed
tests / fmt (push) Has been cancelled
tests / build (push) Has been cancelled
tests / test (push) Has been cancelled
tests / clippy (push) Has been cancelled
tests / pre-commit (push) Has been cancelled
deploy / release-image (push) Has been cancelled
Reviewed-on: #53
2025-10-27 14:36:47 +01:00
4dc6f51b6c use github actions
Some checks failed
tests / fmt (push) Has been cancelled
tests / build (push) Has been cancelled
tests / test (push) Has been cancelled
tests / clippy (push) Has been cancelled
tests / pre-commit (push) Has been cancelled
deploy / release-image (push) Has been cancelled
2025-05-03 14:11:44 +02:00
ea83db7c56 Update rust:slim-bullseye Docker digest to f635d98
Some checks failed
tests / clippy (push) Failing after 1m20s
tests / test (push) Successful in 1m24s
tests / fmt (push) Successful in 1m28s
tests / build (push) Successful in 1m27s
tests / pre-commit (push) Successful in 1m58s
2025-05-01 00:01:00 +00:00
de4260dd84 Update renovatebot/github-action action to v41.0.18
All checks were successful
tests / fmt (push) Successful in 42s
tests / build (push) Successful in 1m6s
tests / test (push) Successful in 2m18s
tests / clippy (push) Successful in 59s
tests / pre-commit (push) Successful in 1m0s
deploy / release-image (push) Successful in 1m3s
renovate / renovate (push) Successful in 1m29s
2025-04-01 00:01:28 +00:00
335626312b Update renovatebot/github-action action to v41.0.17
All checks were successful
tests / fmt (push) Successful in 50s
tests / build (push) Successful in 2m23s
tests / test (push) Successful in 1m29s
tests / clippy (push) Successful in 1m22s
tests / pre-commit (push) Successful in 1m5s
deploy / release-image (push) Successful in 9m20s
renovate / renovate (push) Successful in 31s
2025-03-28 00:01:48 +00:00
07a4da73c1 Update actions/setup-python digest to 8d9ed9a
All checks were successful
tests / fmt (push) Successful in 49s
tests / clippy (push) Successful in 54s
tests / test (push) Successful in 1m8s
tests / pre-commit (push) Successful in 43s
deploy / release-image (push) Successful in 43s
tests / build (push) Successful in 2m38s
renovate / renovate (push) Successful in 1m50s
2025-03-27 00:01:24 +00:00
fa1d720d0f Update dependency python to 3.13
All checks were successful
tests / build (push) Successful in 55s
tests / fmt (push) Successful in 1m4s
tests / test (push) Successful in 1m25s
deploy / release-image (push) Successful in 48s
tests / clippy (push) Successful in 2m13s
tests / pre-commit (push) Successful in 3m5s
renovate / renovate (push) Successful in 59s
2025-03-26 00:02:13 +00:00
6 changed files with 11 additions and 145 deletions

View File

@@ -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@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.12'
- 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@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.12'
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
with:
components: rustfmt
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1

View File

@@ -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@08ed9fa83e24bfe6222557f9e221395c57972127 # v41.0.16
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@boosted.science>"
RENOVATE_GIT_EMAIL: "renovate@boosted.science"
RENOVATE_ENDPOINT: "https://gitea.jheuel.boosted.science/api/v1/"
RENOVATE_AUTODISCOVER: "true"
RENOVATE_OPTIMIZE_FOR_DISABLED: "true"

View File

@@ -10,7 +10,7 @@ env:
jobs: jobs:
fmt: fmt:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update - run: sudo apt-get update
@@ -22,7 +22,7 @@ jobs:
uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1 uses: actions-rust-lang/rustfmt@559aa3035a47390ba96088dffa783b5d26da9326 # v1
build: build:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update - run: sudo apt-get update
@@ -32,14 +32,14 @@ jobs:
run: cargo build --verbose run: cargo build --verbose
test: test:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update - run: sudo apt-get update
- run: sudo apt-get install -y cmake - run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
with: with:
python-version: '3.12' python-version: '3.13'
- name: Install yt-dlp - name: Install yt-dlp
run: pip install yt-dlp run: pip install yt-dlp
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
@@ -47,7 +47,7 @@ jobs:
run: cargo test --verbose --all-features run: cargo test --verbose --all-features
clippy: clippy:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update - run: sudo apt-get update
@@ -59,14 +59,14 @@ jobs:
run: cargo clippy run: cargo clippy
pre-commit: pre-commit:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- run: sudo apt-get update - run: sudo apt-get update
- run: sudo apt-get install -y cmake - run: sudo apt-get install -y cmake
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5 - uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5
with: with:
python-version: '3.12' python-version: '3.13'
- uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1 - uses: actions-rust-lang/setup-rust-toolchain@9399c7bb15d4c7d47b27263d024f0a4978346ba4 # v1
with: with:
components: rustfmt components: rustfmt

View File

@@ -5,12 +5,9 @@ on:
branches: branches:
- main - main
paths-ignore:
- 'README.md'
jobs: jobs:
release-image: release-image:
runs-on: ubuntu-latest runs-on: self-hosted
steps: steps:
- name: Set up QEMU - name: Set up QEMU
uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3 uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3

View File

@@ -1,5 +1,5 @@
# Build image # Build image
FROM rust:slim-bullseye@sha256:1eca9af45f393ac4669b9b63659529638359575f6268cbd4e6543ddc46c53803 as build FROM rust:slim-bullseye@sha256:f635d98d781930be4ab1a5135fd8e2f7b2bdf43c741c99e420d794d0777ead4d as build
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
build-essential autoconf automake cmake libtool libssl-dev pkg-config build-essential autoconf automake cmake libtool libssl-dev pkg-config

View File

@@ -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
}
]
}