|
@@ -11,9 +11,13 @@ jobs:
|
|
|
name: "Check eclhelper interface"
|
|
|
runs-on: ubuntu-latest
|
|
|
steps:
|
|
|
- - name: Checkout
|
|
|
+ - name: Checkout pr
|
|
|
uses: actions/checkout@v2
|
|
|
with:
|
|
|
- fetch-depth: 2
|
|
|
+ fetch-depth: 1
|
|
|
+ - name: Fetch base
|
|
|
+ run: |
|
|
|
+ git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin ${{ github.event.pull_request.base.sha }}
|
|
|
- name: Check eclhelper
|
|
|
- run: git diff HEAD^ --exit-code -- rtl/include/eclhelper.hpp
|
|
|
+ run: |
|
|
|
+ git diff ${{ github.event.pull_request.base.sha }} --exit-code -- rtl/include/eclhelper.hpp
|