mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-18 09:35:50 +00:00
[CI] Improvement and fixes (#161)
* protocols: Fix building without the "games" feature * crate/lib: Add required features for examples This prevents cargo from running the examples if the required features aren't enabled. * ci: Run if ANY Cargo.toml files are changed * ci: Make sure to run unit tests * ci: Separate checks for library and CLI * ci: Add slightly better comments * ci: Only run deeper tests for CLI or LIB when their files were changed * ci: Improve act arguments for testing actions locally * ci: Fix pre-commit not running tests * ci: Only update shared cache after the initial build * ci: Make sure that rustup downloads get cached * tidy: Clean up file formatting * ci: Fix issue with audit
This commit is contained in:
parent
0c7dbe76d7
commit
b3a29b15b1
7 changed files with 123 additions and 15 deletions
1
.github/workflows/audit.yml
vendored
1
.github/workflows/audit.yml
vendored
|
|
@ -13,4 +13,3 @@ jobs:
|
|||
- uses: rustsec/audit-check@v1.4.1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
if: ${{ !env.ACT }} # skip during local actions testing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue