Skip to content

Commit

Permalink
Ignore whitespace in diff
Browse files Browse the repository at this point in the history
  • Loading branch information
domna committed Jan 22, 2024
1 parent 988acdb commit 40cbc58
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/check_nexus_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Generate nexus git version
run: |
git submodule sync --recursive
git submodule update --init --recursive --jobs=4
git submodule foreach --recursive 'git fetch --tags'
cd pynxtools/definitions
git describe --dirty --tags --long --match "*[0-9]*" | tr -d '\n' | tr -d ' ' > ../nexus-ref.txt
git describe --dirty --tags --long --match "*[0-9]*" > ../nexus-ref.txt
cd ../
- name: Diff
run: |
diff pynxtools/nexus-version.txt pynxtools/nexus-ref.txt
diff -w pynxtools/nexus-version.txt pynxtools/nexus-ref.txt

0 comments on commit 40cbc58

Please sign in to comment.