github.com/ipfans/trojan-go@v0.11.0/.github/workflows/nightly-build.yml (about) 1 on: 2 push: 3 branches: 4 - master 5 paths: 6 - "**/*.go" 7 - "go.mod" 8 - "go.sum" 9 - "Makefile" 10 - ".github/workflows/nightly-build.yml" 11 pull_request: 12 types: [opened, synchronize, reopened] 13 branches: 14 - master 15 paths: 16 - "**/*.go" 17 - "go.mod" 18 - "go.sum" 19 - "Makefile" 20 - ".github/workflows/nightly-build.yml" 21 name: nightly-build 22 jobs: 23 build: 24 strategy: 25 fail-fast: false 26 runs-on: ubuntu-latest 27 steps: 28 - name: Install Go 29 uses: actions/setup-go@v2 30 with: 31 go-version: ^1.17.1 32 33 - name: Checkout code 34 uses: actions/checkout@v2 35 36 - name: Build 37 run: | 38 make release -j$(nproc)