forked from mirrors/0ad
Fix linting jenkins file
The main branch wasn't pulled causing the diff to fail.
This commit is contained in:
@@ -70,6 +70,9 @@ jobs:
|
||||
with:
|
||||
node-version: '20'
|
||||
|
||||
- name: Fetch the base branch, so we can use `git diff`
|
||||
run: git fetch origin ${{ env.BASE_SHA }}
|
||||
|
||||
- name: Install npm-groovy-lint
|
||||
run: npm install -g npm-groovy-lint
|
||||
|
||||
|
||||
Reference in New Issue
Block a user