Pete Davison
5e9851f42f
Update minimum go version ( #1758 )
...
* feat: update minimum version to 1.22
* refactor: use int range iterator
* refactor: loop variables
* refactor: replace slicesext.FirstNonZero with cmp.Or
* refactor: use slices.Concat instead of append
* fix: unused param
* fix: linting
2024-08-14 08:37:05 -05:00
Valentin Maerten
30e9c7d4cd
chore: update actions version because node 16 is deprecated ( #1650 )
2024-05-15 22:59:23 -03:00
Pete Davison
2c6969d572
chore: update go minimum version to 1.21
2024-02-17 23:29:49 -03:00
Pete Davison
6f986af0d4
feat: bump minimum go version to 1.20 ( #1302 )
2023-08-11 22:46:37 +01:00
Pete Davison
d9165646c6
chore: update refs from master
to main
( #1048 )
2023-04-15 16:39:35 -03:00
Pete Davison
ab1fe742f3
chore: update to go 1.20
2023-02-13 13:28:49 +00:00
Andrey Nering
98d78b9d8a
Upgrade to Go v1.19
2022-08-03 20:58:06 -03:00
Andrey Nering
9e1d4e7855
Add golangci-lint
...
https://golangci-lint.run/
2022-05-15 21:30:07 -03:00
Andrey Nering
61c5718663
Upgrade to Go 1.18 is out. Set 1.17 as the minimal version
2022-03-21 15:23:06 -03:00
Jay Anslow
74f5cf8f29
Add support for begin/end messages with grouped output
...
Fixes #647
This allows CI systems that support grouping (such as with [GitHub Actions's `::group::` command](https://docs.github.com/en/actions/learn-github-actions/workflow-commands-for-github-actions#grouping-log-lines ) and [Azure Devops](https://docs.microsoft.com/en-us/azure/devops/pipelines/scripts/logging-commands?view=azure-devops&tabs=bash#formatting-commands )) to collapse all of the logs for a single task, to improve readability of logs
## Example
The following Taskfile
```
# Taskfile.yml
version: 3
output:
group:
begin: "::group::{{ .TASK }}"
end: "::endgroup::"
tasks:
default:
cmds:
- "echo 'Hello, World!'"
```
Results in the following output
```bash
$ task
task: [default] echo 'Hello, World!'
::group::default
Hello, World!
::endgroup::
```
See [this GitHub Actions job](https://github.com/janslow/task/runs/4811059609?check_suite_focus=true ) for a full example
<img width="771" alt="image" src="https://user-images.githubusercontent.com/1253367/149429832-6cb0c1b5-0758-442e-9375-c4daa65771bc.png ">
<img width="394" alt="image" src="https://user-images.githubusercontent.com/1253367/149429851-1d5d2ab5-9095-4795-9b57-f91750720d40.png ">
2022-01-14 00:22:14 +00:00
Andrey Nering
85232bd704
Upgrade GitHub actions
...
Closes #633
2021-12-19 22:06:51 -03:00
Andrey Nering
1012a0cf2b
Upgrade to Go 1.17. Set 1.16 as the minimal version
2021-09-04 21:04:40 -03:00
Luke Carrier
039d8f000d
Build with Go 1.16
...
This enables darwin-arm64 builds to support Apple Silicon-based Macs.
2021-09-04 22:56:39 +01:00
Andrey Nering
96b8890ecc
CI: Update Go version to 1.15.x
2020-09-05 17:57:24 -03:00
Andrey Nering
628c4a7b5f
Upgrade Go version on CI
2020-03-01 15:46:56 -03:00
Andrey Nering
67ae6f210f
Improve GitHub Action and also test Go 1.12
2019-10-24 23:25:06 -03:00
Andrey Nering
b7785678f4
CI: Upgrade to Go 1.13
2019-09-07 14:35:48 -03:00
Andrey Nering
a149368725
Calling Go directly on Windows
2019-08-15 22:50:28 -03:00
Andrey Nering
afeefe8259
Build on the root directory
2019-08-15 22:45:46 -03:00
Andrey Nering
690d3c27a2
Do we need to use backslash here?
2019-08-15 22:42:06 -03:00
Andrey Nering
3d56ea5ce5
Fix binary calling on Windows
2019-08-15 22:38:36 -03:00
Andrey Nering
fdff7f80a3
Skip linting for now
2019-08-15 22:35:29 -03:00
Andrey Nering
fe6978b107
Fix CI
2019-08-15 22:32:45 -03:00
Andrey Nering
57db6865d2
Build binary first and test all packages
2019-08-15 22:28:55 -03:00
Andrey Nering
d235d5ab28
Add CI for Linux/Windows/MacOS powered by GitHub Actions
2019-08-15 22:24:31 -03:00