mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-06-09 17:30:43 +00:00
github workflows should now fail on lint errors (#855)
This commit is contained in:
parent
33368e5aa3
commit
7c8583d7d4
2
.github/workflows/pullRequest.yml
vendored
2
.github/workflows/pullRequest.yml
vendored
|
@ -22,7 +22,7 @@ jobs:
|
||||||
sudo apt-get install -y xvfb libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1
|
sudo apt-get install -y xvfb libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
continue-on-error: true
|
continue-on-error: false
|
||||||
uses: golangci/golangci-lint-action@v1.2.1
|
uses: golangci/golangci-lint-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
version: v1.27
|
version: v1.27
|
||||||
|
|
2
.github/workflows/pushToMaster.yml
vendored
2
.github/workflows/pushToMaster.yml
vendored
|
@ -24,7 +24,7 @@ jobs:
|
||||||
sudo apt-get install -y xvfb libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1
|
sudo apt-get install -y xvfb libxcursor-dev libxrandr-dev libxinerama-dev libxi-dev libgl1-mesa-dev libsdl2-dev libasound2-dev > /dev/null 2>&1
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
continue-on-error: true
|
continue-on-error: false
|
||||||
uses: golangci/golangci-lint-action@v1.2.1
|
uses: golangci/golangci-lint-action@v1.2.1
|
||||||
with:
|
with:
|
||||||
version: v1.27
|
version: v1.27
|
||||||
|
|
Loading…
Reference in New Issue
Block a user