mvw/.forgejo/workflows/ci.yml
Renovate Bot 5ba9e517cb
Some checks failed
CI / cargo test (pull_request) Failing after 27m28s
CI / cargo test (push) Failing after 1h11m28s
Update https://github.com/oxsecurity/megalinter action to v9
2025-09-21 04:04:39 +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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: https://github.com/oxsecurity/megalinter@0dcbedd66ea456ba2d54fd350affaa15df8a0da3 # v9
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