From 9bfab4f452e1cf5d18507c76919207873bca90b4 Mon Sep 17 00:00:00 2001 From: Antoine James Tournepiche Date: Sun, 12 Apr 2026 22:50:39 +0200 Subject: [PATCH 1/3] chore(ci): run on gh runners --- .github/workflows/check.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 15d887b..8b29c65 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -6,19 +6,19 @@ on: jobs: fmt: name: Format - runs-on: [self-hosted, linux] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - run: cargo fmt --check clippy: name: Clippy - runs-on: [self-hosted, linux] + runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - run: cargo clippy -- -D warnings test: name: Test - runs-on: [self-hosted, linux] + runs-on: ubuntu-latest needs: clippy steps: - uses: actions/checkout@v6 From 5a3e80bd83bb4cd2ab09c0b9efcd9d78d36179e3 Mon Sep 17 00:00:00 2001 From: Antoine James Tournepiche Date: Sun, 12 Apr 2026 22:52:00 +0200 Subject: [PATCH 2/3] chore(ci): optimize execution time --- .github/workflows/check.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 8b29c65..3d0d82f 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,16 +10,12 @@ jobs: steps: - uses: actions/checkout@v6 - run: cargo fmt --check - clippy: - name: Clippy + checks: + name: Checks runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - - run: cargo clippy -- -D warnings - test: - name: Test - runs-on: ubuntu-latest - needs: clippy - steps: - - uses: actions/checkout@v6 - - run: cargo test + - name: Clippy + run: cargo clippy -- -D warnings + - name: Tests + run: cargo test From c675c7d13733edecc3c51373888b6226a48e0200 Mon Sep 17 00:00:00 2001 From: Antoine James Tournepiche Date: Sun, 12 Apr 2026 22:52:54 +0200 Subject: [PATCH 3/3] chore(ci): make it run on every branch --- .github/workflows/check.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 3d0d82f..d550dca 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -1,8 +1,5 @@ name: Check -on: - push: - branches: [master] - pull_request: +on: [push, pull_request] jobs: fmt: name: Format