fix(poetry): skip if not installed with official script #260
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check config file creation if not exists | |
on: | |
pull_request: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
TestConfig: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- 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; |