Skip to content

Commit 9c6f931

Browse files
committed
lessgo
1 parent f242ae8 commit 9c6f931

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,23 @@ jobs:
5757
fetch-depth: 0
5858
- shell: bash
5959
run: |
60-
yq --version
61-
git diff --name-only "${BASE_SHA}.."
60+
# - '.github/workflows/build.yaml'
61+
# - 'rust-toolchain.toml'
62+
# - '.dockerignore'
63+
# - 'deploy/**'
64+
# - '.cargo/**'
65+
# - 'docker/**'
66+
# - 'Cargo.*'
67+
# - '*.rs'
68+
69+
# Temp globs
70+
# The action will need to get this from inputs somehow
71+
readarray GLOBS < <(yq --output-format=json --indent=0 --null-input '["*.adoc", ".github/**"]')
72+
73+
for GLOB in "${GLOBS[@]}"; do
74+
echo "$GLOB"
75+
git diff --name-only "${BASE_SHA}.." -- "$GLOB"
76+
done
6277
6378
# cargo-udeps:
6479
# name: Run cargo-udeps

0 commit comments

Comments
 (0)