mvw/.forgejo/workflows/ci.yml
ward a7a6006d34
Some checks are pending
CI / cargo test (push) Waiting to run
Update .forgejo/workflows/ci.yml
2025-12-04 12:36:51 +00:00

26 lines
739 B
YAML

name: CI
on:
push:
pull_request:
jobs:
test:
name: cargo test
runs-on: docker
steps:
- uses: https://code.forgejo.org/actions/checkout@v6
- uses: https://github.com/oxsecurity/megalinter@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/dtolnay/rust-toolchain@stable
#- run: cargo test --all-features
- run: cargo run -- --help