Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: test diff #169

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/diff.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "Check LICENSE/README/CHANGELOG diff"
on: [pull_request]

jobs:
diff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Check that the LICENSE files are the exact same
uses: LouisBrunner/[email protected]
with:
old: LICENSE.md
new: src/Packages/Passport/LICENSE.md
mode: strict
tolerance: same
output: LICENSE-diff.txt
- name: Check that the README files are the exact same
uses: LouisBrunner/[email protected]
with:
old: README.md
new: src/Packages/Passport/README.md
mode: strict
tolerance: same
output: README-diff.txt
- name: Check that the CHANGELOG files are the exact same
uses: LouisBrunner/[email protected]
with:
old: CHANGELOG.md
new: src/Packages/Passport/CHANGELOG.md
mode: strict
tolerance: same
output: changelog-diff.txt
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Changelog

Please see https://github.com/immutable/unity-immutable-sdk/releases
Please see https://github.com/immutable/unity-immutable-sdk/releases
test2
176 changes: 0 additions & 176 deletions LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>

---

test
# Immutable Unity SDK

The Immutable SDK for Unity helps you integrate your game with Immutable Passport.
Expand Down
Loading