You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Install to: repository root (or add the `go:test` task into the existing `Taskfile.yml`)
13
+
14
+
## Readme badge
15
+
16
+
Markdown badge:
17
+
18
+
```markdown
19
+
[](https://github.com/REPO_OWNER/REPO_NAME/actions/workflows/test-go-task.yml)
20
+
```
21
+
22
+
Replace the `REPO_OWNER` and `REPO_NAME` placeholders in the URLs with the final repository owner and name ([example](https://raw.githubusercontent.com/arduino-libraries/ArduinoIoTCloud/master/README.md)).
23
+
24
+
---
25
+
26
+
Asciidoc badge:
27
+
28
+
```adoc
29
+
image:https://github.com/{repository-owner}/{repository-name}/actions/workflows/test-go-task.yml/badge.svg["Test Go status", link="https://github.com/{repository-owner}/{repository-name}/actions/workflows/test-go-task.yml"]
30
+
```
31
+
32
+
Define the `{repository-owner}` and `{repository-name}` attributes and use them throughout the readme ([example](https://raw.githubusercontent.com/arduino-libraries/WiFiNINA/master/README.adoc)).
33
+
34
+
## Commit message
35
+
36
+
```
37
+
Add CI workflow to test Go code
38
+
39
+
On every push and pull request that affects relevant files:
40
+
41
+
- Build the project.
42
+
- Upload the binary as a workflow artifact to allow interested parties to try it out without needing to build it
43
+
themselves.
44
+
- Run the project's Go code tests.
45
+
```
46
+
47
+
## PR message
48
+
49
+
```markdown
50
+
On every push and pull request that affects relevant files:
51
+
52
+
- Build the project.
53
+
- Upload the binary as a workflow artifact to allow interested parties to try it out without needing to build it
54
+
themselves.
55
+
- Run the project's [Golang](https://golang.org/) code tests.
0 commit comments