5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 01:31:54 +08:00

Update build and test workflow

This commit is contained in:
Lea Anthony 2022-09-30 08:27:22 +10:00
parent 37954141cc
commit e7188e877f
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -2,13 +2,13 @@ name: Build + Test
on: on:
push: push:
branches: "*" branches: [ release/*, master ]
workflow_dispatch: workflow_dispatch:
jobs: jobs:
test: test:
name: Run Go Tests name: Run Go Tests
if: github.repository == 'wailsapp/wails' && ((github.branch == 'master' || github.branch == 'release/*') || (github.event_name == 'pull_request' && github.event.review.state == 'approved')) if: github.repository == 'wailsapp/wails'
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix: