CI off: checks run by hand, only package builds run by themselves
The checks no longer run on pushes, pull requests or a schedule, on GitHub or Gitea: ci.yml, audit.yml, fuzz.yml and Gitea's ci.yml run by hand only (Run workflow). Only the package builds still run by themselves, on v* tags (release.yml, docker.yml, Gitea's release.yml), and the release workflows no longer run the checks first: GitHub's drops its checks and Windows test jobs, Gitea's the shared checks step. The docs say so. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FEpqsPES27Eacue91u3d2Q
This commit is contained in:
9 files changed
+32
-83
No files matched your search
@@ -4,9 +4,8 @@ name: Security audit
|
||||
# new advisories show up without a push. CI's cargo-deny job checks the same
|
||||
# on every push together with licenses and sources.
|
||||
|
||||
# Not scheduled: run by hand only.
|
||||
on:
|
||||
schedule:
|
||||
- cron: "41 4 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -1,27 +1,10 @@
|
||||
name: CI
|
||||
|
||||
# Fast checks on every push to main and every PR: lint, tests, license and
|
||||
# advisory checks, and the integration tests against TS3/TS6 servers.
|
||||
# Packages are built only by release.yml (tags, or by hand), which also runs
|
||||
# these checks through workflow_call.
|
||||
|
||||
# Changes to documentation only need no build (same list twice: no YAML
|
||||
# anchors in workflows). THIRD_PARTY_NOTICES.md is compiled into the app
|
||||
# (About page) and checked below.
|
||||
# Checks: lint, tests, license and advisory checks, and the integration
|
||||
# tests against TS3/TS6 servers. Off for pushes and pull requests: run by
|
||||
# hand only (Actions → CI → Run workflow). Packages are built by release.yml
|
||||
# (tags, or by hand), which does not wait for these checks.
|
||||
on:
|
||||
push:
|
||||
branches: [main, master]
|
||||
paths:
|
||||
- "**"
|
||||
- "!docs/**"
|
||||
- "!**/*.md"
|
||||
- "THIRD_PARTY_NOTICES.md"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**"
|
||||
- "!docs/**"
|
||||
- "!**/*.md"
|
||||
- "THIRD_PARTY_NOTICES.md"
|
||||
workflow_dispatch:
|
||||
workflow_call:
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
name: Fuzz
|
||||
|
||||
# Not scheduled: run by hand only.
|
||||
on:
|
||||
schedule:
|
||||
- cron: "17 3 * * *"
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
|
||||
@@ -3,8 +3,7 @@ name: Release
|
||||
# The packages (docs/building.md), made by scripts/package.sh like the Docker
|
||||
# builds in docker/. A v* tag attaches them to a draft GitHub release; run by
|
||||
# hand (Actions → Release → Run workflow) they are only uploaded as artifacts.
|
||||
# The package jobs run alongside the checks, so a manual run yields packages
|
||||
# even when a check fails; a release needs everything green.
|
||||
# Only the packages are built: the checks (ci.yml) run by hand.
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -25,25 +24,6 @@ env:
|
||||
CARGO_INCREMENTAL: "0"
|
||||
|
||||
jobs:
|
||||
# The same checks as every push (lint, Linux tests, Windows and Android
|
||||
# clippy, deny, notices, integration tests).
|
||||
checks:
|
||||
uses: ./.github/workflows/ci.yml
|
||||
|
||||
test-windows:
|
||||
name: test (Windows)
|
||||
runs-on: windows-2025
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ./.github/actions/system-deps
|
||||
- name: Install toolchain (rust-toolchain.toml)
|
||||
run: rustup toolchain install
|
||||
- uses: Swatinem/rust-cache@v2
|
||||
- name: Build
|
||||
run: cargo build --workspace --all-targets --locked
|
||||
- name: Test
|
||||
run: cargo test --workspace --locked
|
||||
|
||||
package-linux:
|
||||
name: package (Linux)
|
||||
runs-on: ubuntu-24.04
|
||||
@@ -226,7 +206,7 @@ jobs:
|
||||
release:
|
||||
name: draft release
|
||||
if: startsWith(github.ref, 'refs/tags/v')
|
||||
needs: [checks, test-windows, package-linux, package-windows, package-flatpak, package-gateway-image, package-android]
|
||||
needs: [package-linux, package-windows, package-flatpak, package-gateway-image, package-android]
|
||||
runs-on: ubuntu-24.04
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
Reference in new issue
Block a user