mirror of
https://github.com/wneessen/go-mail.git
synced 2024-11-22 05:40:50 +01:00
Update GitHub Actions paths for Go and workflow files
This commit refines the paths in GitHub Actions workflows to more precisely track changes in Go-related files and specific workflow files. General `.github/**` paths have been replaced with explicit references to relevant workflow files within `.github/workflows`.
This commit is contained in:
parent
04023a1a25
commit
d931050a6f
3 changed files with 14 additions and 8 deletions
4
.github/workflows/codecov.yml
vendored
4
.github/workflows/codecov.yml
vendored
|
@ -10,7 +10,7 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- '**.go'
|
- '**.go'
|
||||||
- 'go.*'
|
- 'go.*'
|
||||||
- '.github/**'
|
- '.github/workflows/codecov.yml'
|
||||||
- 'codecov.yml'
|
- 'codecov.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
|
@ -18,7 +18,7 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- '**.go'
|
- '**.go'
|
||||||
- 'go.*'
|
- 'go.*'
|
||||||
- '.github/**'
|
- '.github/workflows/codecov.yml'
|
||||||
- 'codecov.yml'
|
- 'codecov.yml'
|
||||||
env:
|
env:
|
||||||
TEST_HOST: ${{ secrets.TEST_HOST }}
|
TEST_HOST: ${{ secrets.TEST_HOST }}
|
||||||
|
|
6
.github/workflows/offline-tests.yml
vendored
6
.github/workflows/offline-tests.yml
vendored
|
@ -10,16 +10,14 @@ on:
|
||||||
paths:
|
paths:
|
||||||
- '**.go'
|
- '**.go'
|
||||||
- 'go.*'
|
- 'go.*'
|
||||||
- '.github/**'
|
- '.github/workflows/offline-tests.yml'
|
||||||
- 'codecov.yml'
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
paths:
|
paths:
|
||||||
- '**.go'
|
- '**.go'
|
||||||
- 'go.*'
|
- 'go.*'
|
||||||
- '.github/**'
|
- '.github/workflows/offline-tests.yml'
|
||||||
- 'codecov.yml'
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
|
|
||||||
|
|
12
.github/workflows/sonarqube.yml
vendored
12
.github/workflows/sonarqube.yml
vendored
|
@ -10,10 +10,18 @@ permissions:
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main # or the name of your main branch
|
- main
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- 'go.*'
|
||||||
|
- '.github/workflows/sonarqube.yml'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main # or the name of your main branch
|
- main
|
||||||
|
paths:
|
||||||
|
- '**.go'
|
||||||
|
- 'go.*'
|
||||||
|
- '.github/workflows/sonarqube.yml'
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
|
|
Loading…
Reference in a new issue