vilmibm
e59431eeef
more ubuntus
2020-09-08 16:26:25 -05:00
Mislav Marohnić
a983131479
Exercise most of the release process on prereleases
...
- deb and rpm packages are now built for prereleases
- consolidate setup for deb & rpm
- man pages are generated for prereleases
- the `cli.github.com` site is only pushed to on full releases
Bonus:
- only publish the GitHub release after the Windows MSI is uploaded
- hub does not need downloading
2020-09-07 16:11:27 +02:00
vilmibm
894be03923
linux repo creation
2020-09-03 13:47:48 -05: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
Mislav Marohnić
4757540bdf
Align bump-homebrew-formula config for updated formula format
2020-07-31 19:47:13 +02:00
Mislav Marohnić
41f7b054e6
Bump golangci-lint to v1.29.0
...
Trying to address https://github.com/cli/cli/pull/1406/checks?check_run_id=896316941
which I cannot reproduce locally on macOS
2020-07-22 14:18:18 +02:00
Mislav Marohnić
9c7d52f9f6
Bump golangci-lint
2020-07-02 17:02:38 +02:00
Davor Kapsa
27026d738a
Update releases.yml
2020-06-09 14:35:44 +02:00
Davor Kapsa
26185467a8
update lint.yml
2020-06-09 14:34:41 +02:00
Davor Kapsa
8ace991c94
update go.yml
2020-06-09 14:32:50 +02:00
Mislav Marohnić
cd163f020c
Fix linter in CI
...
It turns out that YAML anchors are not supported
https://github.com/cli/cli/actions/runs/115915028
2020-05-26 18:28:19 +02:00
Mislav Marohnić
54e68ae5b2
Enable linting for pull requests
2020-05-22 19:40:00 +02:00
vilmibm
d800e3f0b6
rely on environment
2020-05-18 15:07:28 -05:00
Mislav Marohnić
1fb27af96b
Bump golangci-lint
2020-05-07 21:04:44 +02:00
Mislav Marohnić
0eb471899a
Upgrade to Go 1.14 in CI
2020-05-07 21:03:42 +02:00
Mislav Marohnić
c62c00761e
Tweak CodeQL workflow
2020-05-06 10:16:08 +02:00
Justin Hutchings
e0071329f5
Remove strategy, remove autobuild
2020-05-05 13:45:06 -07:00
Justin Hutchings
0a86be0ba7
Rename .github/workflows/workflows/codeql.yml to .github/workflows/codeql.yml
2020-05-04 17:49:39 -07:00
Justin Hutchings
efd2da2a5e
Add CodeQL Analysis workflow
2020-04-28 13:01:20 -07:00
Nate Smith
3d13adc46f
Merge pull request #820 from cli/goreleaser-current-tag
...
Help goreleaser find the correct git tag during release
2020-04-28 10:29:54 -05:00
Mislav Marohnić
cd93e5643c
Help goreleaser find the correct git tag during release
2020-04-23 13:04:40 +02:00
Mislav Marohnić
60a67b852a
Automatically generate site docs on release
2020-04-22 15:59:44 +02:00
Mislav Marohnić
b8ecf1fab5
Bump homebrew formula immediately after release
2020-04-22 15:16:24 +02:00
Mislav Marohnić
26ee7baf67
💅 indent
2020-04-13 17:16:47 +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ć
ee2456f3c0
Don't build during linting
...
Building is already covered in CI workflows that run tests
2020-04-03 16:51:47 +02:00
Mislav Marohnić
7ba9773e68
Make golangci-lint failures fatal ☠️
2020-04-03 16:51:43 +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
Mislav Marohnić
1179618e9a
Configure bump-homebrew-formula action for homebrew-core
2020-03-18 20:30:02 +01: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
vilmibm
26c799e2ea
use function not env var
2020-03-03 15:52:26 -06:00
vilmibm
17e690e093
hopefully fix if
2020-03-03 15:48:31 -06:00
vilmibm
11424e0ed0
step not job
2020-03-03 15:46:32 -06:00
vilmibm
cc9f58afee
upon release move Pending Release project cards into Done column
2020-03-02 16:06:27 -06:00
Mislav Marohnić
c32bcee4bb
No need to configure production OAuth app on release anymore
2020-02-18 19:31:18 +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ć
7232bdd7ee
Retire copy-release-to-another-repo action
2020-01-29 16:13:07 +01:00
Mislav Marohnić
10d46fe869
Consistently use checkout@v2
2020-01-29 15:28:06 +01:00
Mislav Marohnić
bc40514506
Simplify building the MSI installer
...
Now that there is a ZIP archive to download, to avoid the complexities
of unzipping through Node.js we use hub to download the `.zip`, extract
it, and eventually upload the `.msi` back to the release.
2020-01-29 15:23:05 +01:00
Mislav Marohnić
7a1ae751de
Use goreleaser to bump Homebrew formula
2020-01-29 14:00:25 +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ć
a34d07aecb
Improve .msi asset handling in upload-msi action
...
- Allow .msi file to be specified via input to action
- Delete obsolete .exe file after uploading .msi
2020-01-09 15:02:48 +01:00