Run code tests on go.mod and go.sum changes

This commit is contained in:
Malte Poll 2022-10-14 10:27:49 +02:00 committed by Malte Poll
parent 74c3c93dec
commit 6c9e18a6b5
7 changed files with 26 additions and 0 deletions

View File

@ -8,9 +8,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:

View File

@ -6,10 +6,12 @@ on:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
jobs:
check:

View File

@ -7,9 +7,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:

View File

@ -7,9 +7,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:

View File

@ -7,9 +7,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
permissions:
contents: read

View File

@ -7,9 +7,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency:

View File

@ -7,9 +7,13 @@ on:
- main
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
# Abort runs of *this* workflow, if a new commit with the same ref is pushed.
concurrency: