2025-05-21 10:05:33 +02:00
|
|
|
name: CI
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
pull_request:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
test:
|
|
|
|
|
name: cargo test
|
|
|
|
|
runs-on: docker
|
|
|
|
|
steps:
|
2025-12-02 20:04:31 +00:00
|
|
|
- uses: https://code.forgejo.org/actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
|
2025-05-21 10:05:33 +02:00
|
|
|
|
2025-06-25 16:06:59 +00:00
|
|
|
- uses: https://github.com/oxsecurity/megalinter@e08c2b05e3dbc40af4c23f41172ef1e068a7d651 # v8
|
2025-05-28 09:36:12 +02:00
|
|
|
env:
|
|
|
|
|
MEGALINTER_FLAVOR: cupcake
|
2025-05-28 10:34:09 +02:00
|
|
|
GITHUB_SERVER_URL: https://forgejo.wizeazz.nl
|
2025-05-28 10:28:28 +02:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2025-05-28 11:14:09 +02:00
|
|
|
# set validate all codebase to false to only check new or edited files
|
2025-05-28 11:17:13 +02:00
|
|
|
VALIDATE_ALL_CODEBASE: false
|
2025-05-28 10:28:28 +02:00
|
|
|
GITHUB_STATUS_REPORTER: ${{ !env.ACT }}
|
|
|
|
|
GITHUB_COMMENT_REPORTER: ${{ !env.ACT }}
|
2025-05-27 13:07:46 +02:00
|
|
|
|
2025-12-04 10:49:39 +01:00
|
|
|
- uses: https://github.com/actions-rust-lang/setup-rust-toolchain@v1
|
2025-05-21 10:05:33 +02:00
|
|
|
|
|
|
|
|
#- run: cargo test --all-features
|
2025-05-21 10:44:08 +02:00
|
|
|
- run: cargo run -- --help
|