mvw/.forgejo/workflows/ci.yml
Renovate Bot 5f15ab2df8
Some checks failed
CI / cargo test (push) Failing after 1m29s
CI / cargo test (pull_request) Failing after 11s
Update https://code.forgejo.org/actions/checkout action to v6
2025-11-21 00:08:30 +00:00

28 lines
867 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
name: cargo test
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
- uses: https://github.com/oxsecurity/megalinter@e08c2b05e3dbc40af4c23f41172ef1e068a7d651 # v8
env:
MEGALINTER_FLAVOR: cupcake
GITHUB_SERVER_URL: https://forgejo.wizeazz.nl
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# set validate all codebase to false to only check new or edited files
VALIDATE_ALL_CODEBASE: false
GITHUB_STATUS_REPORTER: ${{ !env.ACT }}
GITHUB_COMMENT_REPORTER: ${{ !env.ACT }}
- uses: https://github.com/wackbyte/rust-toolchain@trunk
with:
toolchain: stable
#- run: cargo test --all-features
- run: cargo run -- --help