File tree 7 files changed +24
-73
lines changed
7 files changed +24
-73
lines changed Original file line number Diff line number Diff line change 8
8
push :
9
9
paths :
10
10
- " .github/workflows/check-code-generation-task.ya?ml"
11
- - " Taskfile.yml "
11
+ - " Taskfile.ya?ml "
12
12
- " go.mod"
13
13
- " go.sum"
14
- - " **/* .go"
14
+ - " **.go"
15
15
- " etc/schemas/**/*.json"
16
16
pull_request :
17
17
paths :
18
18
- " .github/workflows/check-code-generation-task.ya?ml"
19
- - " Taskfile.yml "
19
+ - " Taskfile.ya?ml "
20
20
- " go.mod"
21
21
- " go.sum"
22
- - " **/* .go"
22
+ - " **.go"
23
23
- " etc/schemas/**/*.json"
24
24
25
25
jobs :
Original file line number Diff line number Diff line change 7
7
# See: https://github.com/actions/setup-python/tree/v2#available-versions-of-python
8
8
PYTHON_VERSION : " 3.9"
9
9
10
+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
10
11
on :
11
12
push :
12
13
paths :
28
29
- " poetry.lock"
29
30
- " pyproject.toml"
30
31
- " tests/**"
32
+ workflow_dispatch :
33
+ repository_dispatch :
31
34
32
35
jobs :
33
36
test :
36
39
operating-system :
37
40
- ubuntu-latest
38
41
- windows-latest
39
- - macOS -latest
42
+ - macos -latest
40
43
41
44
runs-on : ${{ matrix.operating-system }}
42
45
49
52
with :
50
53
go-version : ${{ env.GO_VERSION }}
51
54
52
- - name : Install Task
53
- uses : arduino/setup-task@v1
54
- with :
55
- repo-token : ${{ secrets.GITHUB_TOKEN }}
56
- version : 3.x
57
-
58
55
- name : Install Python
59
56
uses : actions/setup-python@v2
60
57
with :
63
60
- name : Install Poetry
64
61
run : pip install poetry
65
62
63
+ - name : Install Task
64
+ uses : arduino/setup-task@v1
65
+ with :
66
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
67
+ version : 3.x
68
+
66
69
- name : Run integration tests
67
70
run : task go:test-integration
Original file line number Diff line number Diff line change 5
5
# See: https://github.com/actions/setup-go/tree/v2#readme
6
6
GO_VERSION : " 1.16"
7
7
8
+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
8
9
on :
9
10
push :
10
11
paths :
11
12
- " .github/workflows/test-go-task.ya?ml"
12
- - " Taskfile.yml"
13
13
- " go.mod"
14
14
- " go.sum"
15
- - " **/*.go"
15
+ - " Taskfile.ya?ml"
16
+ - " **.go"
16
17
- " **/testdata/**"
17
18
pull_request :
18
19
paths :
19
20
- " .github/workflows/test-go-task.ya?ml"
20
- - " Taskfile.yml"
21
21
- " go.mod"
22
22
- " go.sum"
23
- - " **/*.go"
23
+ - " Taskfile.ya?ml"
24
+ - " **.go"
24
25
- " **/testdata/**"
26
+ workflow_dispatch :
27
+ repository_dispatch :
25
28
26
29
jobs :
27
30
test :
30
33
operating-system :
31
34
- ubuntu-latest
32
35
- windows-latest
33
- - macOS -latest
36
+ - macos -latest
34
37
35
38
runs-on : ${{ matrix.operating-system }}
36
39
Original file line number Diff line number Diff line change @@ -3,11 +3,11 @@ name: Test install script
3
3
on :
4
4
push :
5
5
paths :
6
- - " .github/workflows/test-install.yml "
6
+ - " .github/workflows/test-install.ya?ml "
7
7
- " etc/install.sh"
8
8
pull_request :
9
9
paths :
10
- - " .github/workflows/test-install.yml "
10
+ - " .github/workflows/test-install.ya?ml "
11
11
- " etc/install.sh"
12
12
schedule :
13
13
# 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