There was an error while loading. Please reload this page.
1 parent 63bab5c commit 89b95c0Copy full SHA for 89b95c0
.github/workflows/build.yml
@@ -1,12 +1,14 @@
1
name: Build
2
on:
3
- - push
4
- - pull_request
+ push:
+ branches:
5
+ - main
6
+ pull_request:
7
+
8
jobs:
9
build:
10
11
runs-on: ubuntu-latest
- if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request'
12
steps:
13
- name: Install Go
14
uses: actions/setup-go@v5
0 commit comments