Commit graph

81 commits

Author SHA1 Message Date
Mislav Marohnić
206cff9b67
Please avoid adding installation instructions for your OS 2020-04-17 15:34:41 +02:00
Mislav Marohnić
2f02a79df0
Touch up CONTRIBUTING docs 💅 2020-04-17 15:29:12 +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
Billy Griffin
8518b8255a
Update contributing to reflect something closer to reality 2020-04-09 13:40:03 -06: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
Nate Smith
48ffd5aa00
Merge pull request #484 from cli/issue-template-labels
Add labels to issue template
2020-02-18 10:04:54 -06:00
Nate Smith
0215074f5e
Merge pull request #481 from cli/ci-pulls
Enable CI for pull requests from forks
2020-02-18 10:03:13 -06:00
Emerson Castaneda
103d62b309 Add manual-pages-are-automatically-generated clarification 2020-02-17 21:29:04 -05:00
Mislav Marohnić
69d859a47f Add labels to issue template 2020-02-17 15:43:51 +01:00
Mislav Marohnić
5f6fd35a99 Enable CI for pull requests from forks 2020-02-17 12:52:48 +01:00
evelyn masso
dd9b89b0c0 first pr template draft 2020-02-10 10:33:35 -08: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ć
d395e8eb22 Remove obsolete actions related to MSI building 2020-01-29 15:25:18 +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ć
5a59a8b117 Add contributing.md (#252) 2020-01-24 12:44:15 -06:00
Mislav Marohnić
d97c3a0648 Scrub sourcemaps from copy-release action 2020-01-23 19:11:05 +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
Lee Reilly
ffd756c18a Merge pull request #181 from github/draft-security-md
Add security.md
2020-01-13 10:18:39 -08:00
Mislav Marohnić
ef8b376b09 Add npm run build script to download-exe action 2020-01-09 15:04:34 +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
Mislav Marohnić
abca8d8685 Add npm run build script to upload-msi action 2020-01-09 14:58:57 +01:00
Mislav Marohnić
88f0f3a8b2 Preserve original filename in build-msi action 2020-01-09 14:56:43 +01:00
Mislav Marohnić
30d06c13ba Add npm run build script to build-msi action 2020-01-09 14:54:13 +01:00
Mislav Marohnić
2053809436 Merge pull request #201 from github/cleanup-scripts
Cleanup release scripts
2020-01-08 17:22:46 +01:00
Mislav Marohnić
0639ef8445 Cleanup unnecessary workflow bits 2020-01-08 17:17:40 +01:00
Mislav Marohnić
1f2277cdd3 Merge pull request #199 from github/generate-changelog
Generate changelog on release
2020-01-08 17:15:06 +01:00
Mislav Marohnić
7edde9306a Move Windows build scripts under script/ 2020-01-07 15:51:57 +01:00
Mislav Marohnić
2271f4cdb6 Generate changelog on release
The changelog is generated using the git log of pull request merges
since the last tagged release, and is in the following format:

    * {PR title} #{PR number}
2020-01-07 13:55:56 +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
Corey Johnson
e3cc9111de Merge remote-tracking branch 'origin/master' into revert-184-release-notes 2020-01-06 09:37:18 -08:00
Nate Smith
2e192d7284 be more descriptive 2019-12-23 22:00:58 -06:00