Update and rename README.md to CHANGELOG.md #22
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test dorny/paths-filter | |
on: [push, pull_request] | |
jobs: | |
filter: | |
runs-on: ubuntu-latest | |
outputs: | |
lint: ${{ steps.filter.outputs.lint }} | |
regnet: ${{ steps.filter.outputs.regnet }} | |
test: ${{ steps.filter.outputs.test }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
lint: | |
- "**/*.go" | |
- .github/workflows/** | |
- .golangci-legacy.yml | |
- Makefile | |
- go.mod | |
- go.sum | |
- api/proto/**/* | |
- cmd/**/* | |
- internal/**/* | |
- pkg/**/* | |
regnet: | |
- .github/workflows/** | |
- Makefile | |
- go.mod | |
- go.sum | |
- dev-resources/regnets/**/* | |
- internal/common/coinbox/regnet_test.go | |
test: | |
- "**/*.go" | |
- "**/*.sh" | |
- "**/*.sql" | |
- .github/workflows/** | |
- Makefile | |
- go.mod | |
- go.sum | |
lint: | |
needs: filter | |
runs-on: ubuntu-latest | |
if: needs.filter.outputs.lint == 'true' | |
steps: | |
- name: Run lint job | |
run: echo "Lint job got triggered" | |
regnet: | |
needs: filter | |
runs-on: ubuntu-latest | |
if: needs.filter.outputs.regnet == 'true' | |
steps: | |
- name: Run regnet job | |
run: echo "Regnet job got triggered" | |
test: | |
needs: filter | |
runs-on: ubuntu-latest | |
if: needs.filter.outputs.test == 'true' | |
steps: | |
- name: Run test job | |
run: echo "Test job got triggered" |