Files
topgrade/.github/workflows/check_config_creation_if_not_exists.yml
dependabot[bot] 9472aaca7a chore(deps): bump actions/checkout from 4.2.2 to 5.0.0 (#1264)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 11:47:45 +02:00

25 lines
492 B
YAML

name: Check config file creation if not exists
on:
pull_request:
env:
CARGO_TERM_COLOR: always
permissions:
contents: read
jobs:
TestConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5.0.0
- run: |
CONFIG_PATH=~/.config/topgrade.toml;
if [ -f "$CONFIG_PATH" ]; then rm $CONFIG_PATH; fi
cargo build;
TOPGRADE_SKIP_BRKC_NOTIFY=true ./target/debug/topgrade --dry-run --only system;
stat $CONFIG_PATH;