1- name : PR Checks
1+ name : PR Checks (master)
22
33on :
44 pull_request :
@@ -29,33 +29,14 @@ jobs:
2929 run : |
3030 echo "::warning::Feature branch does not contain any changes to the website."
3131
32- # lint_go:
33- # name: Run Go Linters
34- # runs-on: ubuntu-latest
35- # steps:
36- # - name: Checkout code
37- # uses: actions/checkout@v4
38- #
39- # - name: Setup Go
40- # uses: actions/setup-go@v4
41- # with:
42- # go-version: "1.21"
43- #
44- # - name: Update go modules
45- # working-directory: ./v2
46- # run: go mod tidy
47- #
48- # - name: Run Linter
49- # uses: golangci/golangci-lint-action@v3
50- # with:
51- # version: v1.54
52- # working-directory: ./v2
53- # args: --timeout=10m0s --config ./.golangci.yml
54-
5532 test_go :
5633 name : Run Go Tests
5734 runs-on : ${{ matrix.os }}
58- if : github.event.review.state == 'approved' && github.repository == 'wailsapp/wails' && github.base_ref == 'master'
35+ if : >
36+ github.event.review.state == 'approved' &&
37+ github.repository == 'wailsapp/wails' &&
38+ github.base_ref == 'master' &&
39+ github.event.pull_request.head.ref != 'update-sponsors'
5940 strategy :
6041 matrix :
6142 os : [ubuntu-22.04, windows-latest, macos-latest, ubuntu-24.04]
@@ -65,11 +46,11 @@ jobs:
6546 - name : Checkout code
6647 uses : actions/checkout@v3
6748
68- - name : Install linux dependencies ( 22.04 )
49+ - name : Install linux dependencies (22.04)
6950 if : matrix.os == 'ubuntu-22.04'
7051 run : sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev build-essential pkg-config
7152
72- - name : Install linux dependencies ( 24.04 )
53+ - name : Install linux dependencies (24.04)
7354 if : matrix.os == 'ubuntu-24.04'
7455 run : sudo apt-get update -y && sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev build-essential pkg-config
7556
0 commit comments