dependabot[bot]
f9df89da0f
build(deps): bump actions/checkout from 3 to 4 ( #7937 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 04:06:24 +02:00
Sam Coe
4a57a812f5
Upgrade to Go 1.21 ( #7843 )
2023-08-16 10:37:58 -07:00
dependabot[bot]
d905165875
Bump actions/setup-go from 3 to 4 ( #7177 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-16 09:22:02 +11:00
Mislav Marohnić
ba4d50452d
Update to Go 1.19
...
With this upgrade our codebase adopts the stricter handling of `os/exec` command lookup in it that it doesn't allow shelling out to a command in the current directory.
2022-12-12 15:50:13 +01:00
Sam Coe
597eb16a83
Upgrade to go 1.18 ( #5542 )
2022-05-09 18:46:19 +02:00
dependabot[bot]
3427d17401
Bump actions/setup-go from 2 to 3 ( #5425 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/setup-go
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-14 09:39:05 +02:00
dependabot[bot]
b090ef0578
Bump actions/cache from 2 to 3
...
Bumps [actions/cache](https://github.com/actions/cache ) from 2 to 3.
- [Release notes](https://github.com/actions/cache/releases )
- [Commits](https://github.com/actions/cache/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 14:27:30 +00:00
neilnaveen
07e0e52edd
Fixed permission for workflow ( #5279 )
...
https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions
Co-authored-by: Mislav Marohnić <mislav@github.com>
2022-03-14 14:18:21 +01:00
Mislav Marohnić
cb7315c85d
Re-initialize modules cache in CI
2022-03-10 18:29:42 +01:00
dependabot[bot]
0cce0e1543
Bump actions/checkout from 2 to 3
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-03-02 14:29:49 +00:00
Mislav Marohnić
171482970f
Cache Go modules between CI runs
2022-01-13 13:17:11 +01:00
Mislav Marohnić
eb78ac0dcb
Require Go 1.16+
2021-08-23 18:08:09 +02:00
Pete Woods
03949a4d72
Build static binaries
...
Fixes #2555
2020-12-07 15:49:58 +00:00
Mislav Marohnić
176dd29c05
Clarify our Go version requirements
...
* We are trying to keep the binary building on Go 1.13 to support building the project on Ubuntu 20.04 LTS
* Go 1.14+ is required to run the test suite
* We build our releases on Go 1.15
This adds a CI check that verifies that the project compiles on 1.13
2020-08-28 14:05:50 +02:00
Shoma Okamoto
06b579c976
update go version
2020-08-13 22:22:27 +09:00
Davor Kapsa
8ace991c94
update go.yml
2020-06-09 14:32:50 +02:00
Mislav Marohnić
0eb471899a
Upgrade to Go 1.14 in CI
2020-05-07 21:03:42 +02:00
Mislav Marohnić
4e393fdab4
Avoid intermittent CI failures while setting up Go
...
Switch to `actions/setup-go@v2-beta` which advertises better retries
around downloading the Go version
2020-04-13 17:15:59 +02:00
Mislav Marohnić
876e825e64
Check code with golangci-lint on push
...
Right now linting failures don't fail the CI job, but they might in the
future.
2020-04-02 14:55:13 +02:00
Mislav Marohnić
ad190519c6
Simplify ANSI coloring
2020-04-01 15:09:24 +02:00
Mislav Marohnić
228312a30d
Have git diff produce colored output in CI
2020-04-01 14:48:47 +02:00
Mislav Marohnić
7dbc5e99e4
go: download dependencies before running tests in CI
2020-04-01 14:48:43 +02:00
Mislav Marohnić
a8894a0745
Assert that running go fmt or go mod tidy produces no changes in CI
...
This will help avoid introducing code changes that are not properly
formatted, or `go mod` dependency changes that are untidy.
Ref. 0680bb5c6c
2020-04-01 14:30:52 +02:00
Henrique Vicente
a1db5c3070
tests: adding the Go data race detector.
...
https://golang.org/doc/articles/race_detector.html
https://blog.golang.org/race-detector
2020-03-05 14:40:55 +01:00
Mislav Marohnić
5f6fd35a99
Enable CI for pull requests from forks
2020-02-17 12:52:48 +01:00
Mislav Marohnić
8aa46ab0f2
Merge pull request #276 from cli/rework-release
...
Add more binary builds, simplify release process
2020-01-30 19:33:21 +01:00
Mislav Marohnić
10d46fe869
Consistently use checkout@v2
2020-01-29 15:28:06 +01:00
Mislav Marohnić
4e579e544c
Make sure failed builds result in an error on Windows
...
By default, this was run on PowerShell on Windows, and even though the
Actions environment is supposed to immediately exit on failures[1], this
doesn't seem to have effect.
Switching to bash for unified behavior on all platforms.
[1]: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#exit-codes-and-error-action-preference
2020-01-29 12:22:13 +01:00
Mislav Marohnić
eb6541d8d6
Fix CI build
2020-01-23 11:03:06 +01:00
Mislav Marohnić
a3c808e22e
Disable cancelling other CI builds after one fails
...
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategyfail-fast
2020-01-15 12:56:00 +01:00
Mislav Marohnić
0639ef8445
Cleanup unnecessary workflow bits
2020-01-08 17:17:40 +01:00
Mislav Marohnić
82b0986a6c
Use build matrix for CI job
...
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#jobsjob_idstrategymatrix
2020-01-06 20:42:18 +01:00
Nate Smith
2e192d7284
be more descriptive
2019-12-23 22:00:58 -06:00
vilmibm
5c05b60ab2
give unique names
2019-12-20 10:29:12 -06:00
vilmibm
2ba17b4126
build on all three supported OSs
2019-12-20 10:24:34 -06:00
Corey Johnson
4e61c3ea73
Fix syntax
2019-12-17 16:19:30 -08:00
Mislav Marohnić
6d8af20e30
Stop requiring vendored dependencies in CI
...
We started vendoring dependencies because this was a practice that the Go community had for a while now to:
1. Speed up builds - no need to fetch dependencies every time;
2. Guard against 3rd-party downtime - CI passes even if hosts such as `gopkg.in` are down, or if someone deletes their GitHub repo/account hosting a particular module.
With Go 1.13 and GitHub Actions, however, we have these problems solved for free:
- The built-in goproxy caches dependencies and speeds up downloads;
- Octofactory ensures that dependencies are cached on our own infrastructure, guarding us from 3rd-party downtime.
With all this in mind, I feel that we don't have to require vendoring dependencies anymore.
2019-10-23 22:35:11 +02:00
Mislav Marohnić
334b1ae9fe
Add CI
2019-10-04 09:10:17 +02:00