Skip to content

Commit

Permalink
Workflows: Trigger all Build & Test on all branches & files
Browse files Browse the repository at this point in the history
  • Loading branch information
RPRX authored Jan 1, 2025
1 parent 3dec711 commit 57dd9c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 36 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/release-win7.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,18 @@
name: Build and Release for Windows 7

# NOTE: This Github Actions file depends on the Makefile.
# Building the correct package requires the correct binaries generated by the Makefile. To
# ensure the correct output, the Makefile must accept the appropriate input and compile the
# correct file with the correct name. If you need to modify this file, please ensure it won't
# disrupt the Makefile.

on:
workflow_dispatch:
release:
types: [published]
push:
branches:
- main
paths:
# - "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release-win7.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
# - "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release-win7.yml"

jobs:
prepare:
Expand Down
13 changes: 1 addition & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,9 @@ on:
release:
types: [published]
push:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/release.yml"

jobs:
prepare:
runs-on: ubuntu-latest
Expand Down
12 changes: 0 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,8 @@ name: Test

on:
push:
branches:
- main
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"
pull_request:
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
- "go.mod"
- "go.sum"
- ".github/workflows/*.yml"

jobs:
test:
Expand Down

0 comments on commit 57dd9c2

Please sign in to comment.