8
8
types : [submitted]
9
9
branches :
10
10
- master
11
-
12
11
jobs :
13
12
check_docs :
14
13
name : Check Docs
15
- if : ${{github.repository == 'wailsapp/wails' && contains( github.head_ref,'feature/') }}
14
+ if : ${{github.repository == 'wailsapp/wails' && github.base_ref == 'master' }}
16
15
runs-on : ubuntu-latest
17
16
steps :
18
17
- uses : actions/checkout@v3
@@ -30,37 +29,37 @@ jobs:
30
29
run : |
31
30
echo "::warning::Feature branch does not contain any changes to the website."
32
31
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
55
54
56
55
test_go :
57
56
name : Run Go Tests
58
57
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'
60
59
strategy :
61
60
matrix :
62
61
os : [ubuntu-22.04, windows-latest, macos-latest, ubuntu-24.04]
63
- go-version : ['1.21 ']
62
+ go-version : ['1.23 ']
64
63
65
64
steps :
66
65
- name : Checkout code
0 commit comments