File tree Expand file tree Collapse file tree 7 files changed +24
-73
lines changed Expand file tree Collapse file tree 7 files changed +24
-73
lines changed Original file line number Diff line number Diff line change 88 push :
99 paths :
1010 - " .github/workflows/check-code-generation-task.ya?ml"
11- - " Taskfile.yml "
11+ - " Taskfile.ya?ml "
1212 - " go.mod"
1313 - " go.sum"
14- - " **/* .go"
14+ - " **.go"
1515 - " etc/schemas/**/*.json"
1616 pull_request :
1717 paths :
1818 - " .github/workflows/check-code-generation-task.ya?ml"
19- - " Taskfile.yml "
19+ - " Taskfile.ya?ml "
2020 - " go.mod"
2121 - " go.sum"
22- - " **/* .go"
22+ - " **.go"
2323 - " etc/schemas/**/*.json"
2424
2525jobs :
Original file line number Diff line number Diff line change 77 # See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
88 PYTHON_VERSION : " 3.9"
99
10+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
1011on :
1112 push :
1213 paths :
2829 - " poetry.lock"
2930 - " pyproject.toml"
3031 - " tests/**"
32+ workflow_dispatch :
33+ repository_dispatch :
3134
3235jobs :
3336 test :
3639 operating-system :
3740 - ubuntu-latest
3841 - windows-latest
39- - macOS -latest
42+ - macos -latest
4043
4144 runs-on : ${{ matrix.operating-system }}
4245
4952 with :
5053 go-version : ${{ env.GO_VERSION }}
5154
52- - name : Install Task
53- uses : arduino/setup-task@v1
54- with :
55- repo-token : ${{ secrets.GITHUB_TOKEN }}
56- version : 3.x
57-
5855 - name : Install Python
5956 uses : actions/setup-python@v2
6057 with :
6360 - name : Install Poetry
6461 run : pip install poetry
6562
63+ - name : Install Task
64+ uses : arduino/setup-task@v1
65+ with :
66+ repo-token : ${{ secrets.GITHUB_TOKEN }}
67+ version : 3.x
68+
6669 - name : Run integration tests
6770 run : task go:test-integration
Original file line number Diff line number Diff line change 55 # See: https://github.com/actions/setup-go/tree/v2#readme
66 GO_VERSION : " 1.16"
77
8+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
89on :
910 push :
1011 paths :
1112 - " .github/workflows/test-go-task.ya?ml"
12- - " Taskfile.yml"
1313 - " go.mod"
1414 - " go.sum"
15- - " **/*.go"
15+ - " Taskfile.ya?ml"
16+ - " **.go"
1617 - " **/testdata/**"
1718 pull_request :
1819 paths :
1920 - " .github/workflows/test-go-task.ya?ml"
20- - " Taskfile.yml"
2121 - " go.mod"
2222 - " go.sum"
23- - " **/*.go"
23+ - " Taskfile.ya?ml"
24+ - " **.go"
2425 - " **/testdata/**"
26+ workflow_dispatch :
27+ repository_dispatch :
2528
2629jobs :
2730 test :
3033 operating-system :
3134 - ubuntu-latest
3235 - windows-latest
33- - macOS -latest
36+ - macos -latest
3437
3538 runs-on : ${{ matrix.operating-system }}
3639
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name: Test install script
33on :
44 push :
55 paths :
6- - " .github/workflows/test-install.yml "
6+ - " .github/workflows/test-install.ya?ml "
77 - " etc/install.sh"
88 pull_request :
99 paths :
10- - " .github/workflows/test-install.yml "
10+ - " .github/workflows/test-install.ya?ml "
1111 - " etc/install.sh"
1212 schedule :
1313 # Run every day at 03:00 UTC to catch breakage caused by external events
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments