Skip to content

Commit c8e3ba2

Browse files
committedMar 8, 2025··

File tree

1 file changed

+25
-26
lines changed

1 file changed

+25
-26
lines changed
 

‎.github/workflows/pr.yml ‎.github/workflows/pr-v3.yml

+25-26
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ on:
88
types: [submitted]
99
branches:
1010
- master
11-
1211
jobs:
1312
check_docs:
1413
name: Check Docs
15-
if: ${{github.repository == 'wailsapp/wails' && contains(github.head_ref,'feature/')}}
14+
if: ${{github.repository == 'wailsapp/wails' && github.base_ref == 'master'}}
1615
runs-on: ubuntu-latest
1716
steps:
1817
- uses: actions/checkout@v3
@@ -30,37 +29,37 @@ jobs:
3029
run: |
3130
echo "::warning::Feature branch does not contain any changes to the website."
3231
33-
# lint_go:
34-
# name: Run Go Linters
35-
# runs-on: ubuntu-latest
36-
# steps:
37-
# - name: Checkout code
38-
# uses: actions/checkout@v4
39-
#
40-
# - name: Setup Go
41-
# uses: actions/setup-go@v4
42-
# with:
43-
# go-version: "1.21"
44-
#
45-
# - name: Update go modules
46-
# working-directory: ./v2
47-
# run: go mod tidy
48-
#
49-
# - name: Run Linter
50-
# uses: golangci/golangci-lint-action@v3
51-
# with:
52-
# version: v1.54
53-
# working-directory: ./v2
54-
# args: --timeout=10m0s --config ./.golangci.yml
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
5554

5655
test_go:
5756
name: Run Go Tests
5857
runs-on: ${{ matrix.os }}
59-
if: github.event.review.state == 'approved'
58+
if: github.event.review.state == 'approved' && github.repository == 'wailsapp/wails' && github.base_ref == 'master'
6059
strategy:
6160
matrix:
6261
os: [ubuntu-22.04, windows-latest, macos-latest, ubuntu-24.04]
63-
go-version: ['1.21']
62+
go-version: ['1.23']
6463

6564
steps:
6665
- name: Checkout code

0 commit comments

Comments
 (0)
Please sign in to comment.