Skip to content

build: fix broken tests, add CI - #31

Merged
FineFindus merged 3 commits into
libre-tube:mainfrom
FineFindus:feat/ci-runs
Oct 25, 2026
Merged

FineFindus merged 3 commits into
libre-tube:mainfrom
FineFindus:feat/ci-runs

Conversation

@FineFindus

Copy link
Copy Markdown
Contributor

Fixes the broken tests and adds a CI workflow that runs on every commit/PR to avoid breaking the tests in the future.

@FineFindus
FineFindus requested a review from Bnyro October 24, 2026 19:10
Comment thread .github/workflows/ci.yml
- uses: actions/checkout@v5
- run: rustup update stable && rustup default stable
- uses: Swatinem/rust-cache@v2
- run: cargo clippy --workspace --all-targets --locked -- -D warnings

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All in all, we're installing 5 rust targets (3x test, 1x fmt, 1x clippy). Is that really needed? It certainly makes the CI slower.

Any why are we using the nightly formatter, but stable clippy?

@FineFindus FineFindus Oct 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All in all, we're installing 5 rust targets (3x test, 1x fmt, 1x clippy). Is that really needed? It certainly makes the CI slower.

It'll get faster once GitHub updates the pre-installed versions :) Alternatively we could also use the older, installed ones, at the risk of missing out of features/fixes in newer rust releases.

Any why are we using the nightly formatter, but stable clippy?

Swapped to stable.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But not pushed yet? :)

Lgtm then!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops

@FineFindus
FineFindus merged commit 2396e95 into libre-tube:main Oct 25, 2026
5 checks passed
@FineFindus
FineFindus deleted the feat/ci-runs branch October 25, 2026 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants