diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bd93cdc..3949ff9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,12 @@ name: build and test -on: [push, pull_request] +on: + push: + pull_request: + types: [opened, reopened] -env: +env: + CLICOLOR_FORCE: true CARGO_TERM_COLOR: always jobs: diff --git a/Cargo.toml b/Cargo.toml index 07d19a1..6d4ac31 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,3 @@ [workspace] -members = [ - "pest-test", - "pest-test-gen" -] \ No newline at end of file +resolver = "2" +members = ["pest-test", "pest-test-gen"] diff --git a/pest-test/Cargo.toml b/pest-test/Cargo.toml index 91f3839..770137f 100644 --- a/pest-test/Cargo.toml +++ b/pest-test/Cargo.toml @@ -11,7 +11,7 @@ license = "MIT" readme = "../README.md" [dependencies] -colored = "2.0.0" +colored = "2.0.4" pest = "2.5.2" pest_derive = "2.5.2" snailquote = "0.3.1"