aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/go.yml (follow)
Commit message (Collapse)AuthorAgeFiles
* build(deps): bump docker/build-push-action from 5 to 6 (#155)dependabot[bot]2024-07-021
| | | | | | | | | | | | | | | Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v5...v6) --- updated-dependencies: - dependency-name: docker/build-push-action 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>
* build(deps): bump golangci/golangci-lint-action from 5 to 6 (#152)dependabot[bot]2024-05-141
| | | | | | | | | | | | | | | | Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action 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> Co-authored-by: r-hang <rhang@uber.com>
* Use Go 1.22Chongyi Zheng2024-04-291
| | | | This upgrades sally to use Go 1.22.
* CI: Use codecov tokenJacob Oaks2024-04-291
| | | | Adds codecov token as required by codecov-action v4.
* Merge branch 'master' into dependabot/github_actions/codecov/codecov-action-4Jacob Oaks2024-04-291
|\
| * Bump golangci/golangci-lint-action from 3 to 5dependabot[bot]2024-04-291
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3 to 5. - [Release notes](https://github.com/golangci/golangci-lint-action/releases) - [Commits](https://github.com/golangci/golangci-lint-action/compare/v3...v5) --- updated-dependencies: - dependency-name: golangci/golangci-lint-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
| * CI: Fix golangci-lint installation stepJacob Oaks2024-04-291
| | | | | | | | | | | | | | Following https://github.com/uber-go/zap/pull/1424 and https://github.com/uber-go/fx/pull/1185 as examples. `--version` is no longer accepted. Use `--help` instead.
* | Bump codecov/codecov-action from 3 to 4dependabot[bot]2024-02-051
|/ | | | | | | | | | | | | | | Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 3 to 4. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](https://github.com/codecov/codecov-action/compare/v3...v4) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/setup-go from 4 to 5dependabot[bot]2023-12-121
| | | | | | | | | | | | | | | Bumps [actions/setup-go](https://github.com/actions/setup-go) from 4 to 5. - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v4...v5) --- 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>
* Bump docker/build-push-action from 4 to 5 (#114)dependabot[bot]2023-11-081
|
* Bump docker/setup-buildx-action from 2 to 3 (#115)dependabot[bot]2023-11-081
|
* Bump actions/checkout from 3 to 4 (#110)dependabot[bot]2023-10-311
| | | | | | | | | | | | | | | | 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>
* ci: Use golangci-lint for linting (#121)Abhinav Gupta2023-10-211
| | | | | | | | | | | | | Instead of hand-managing and running linters, use golangci-lint. Along with the golangci-lint defaults, enable a couple other linters we generally agree with. See also uber-go/zap#1323 for a similar change. As a result of this, we can: - Drop the dependabot for tools - Run the lint job in parallel with build/test - Simplify the Makefile
* Add support for sub-indexes (#120)Abhinav Gupta2023-10-181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | <details> <summary>Background</summary> Sally renders two kinds of pages: - packages: These are for packages defined in sally.yaml and any route under the package path. - indexes: These list available packages. The latter--indexes was previously only supported at '/', the root page. This leads to a slight UX issue: if you have a package with a / in its name (e.g. net/metrics): - example.com/net/metrics gives you the package page - example.com/ lists net/metrics - However, example.com/net fails with a 404 </details> This adds support for index pages on all parents of package pages. Therefore, if example.com/net/metrics exists, example.com/net will list all packages defined under that path. Resolves #31
* ci: Update actions (#99)Abhinav Gupta2023-06-011
| | | | | Updates the checkout, setup-go, and codecov GitHub Actions. Supersedes #88, #89, #90
* ci: Publish Docker image to ghcr.io on release (#82)Abhinav Gupta2023-04-211
| | | | | | | | | | | | | | | | | | Adds a workflow that builds and publishes a Docker image to ghcr.io based on the Dockerfile in the root of the repository. This will become available at https://github.com/uber-go/sally/pkgs/container/sally. Users will be able to import it by using `ghcr.io/uber-go/sally:$tag` with `docker pull` or in the `FROM` clause of their own Docker file. As a test for this, I published it manually to my own fork. The image is at https://github.com/abhinav/sally/pkgs/container/sally. With that, I ran the following Dockerfile: FROM ghcr.io/abhinav/sally:master COPY sally.yaml / And it worked as expected.
* ci: Build against Go 1.20 (#76)Abhinav Gupta2023-02-041
| | | | Upgrades to latest release of Go for CI. This requires switching staticcheck to the latest release as well.
* ci: Use Go 1.19 and update GH actions (#58)Abhinav Gupta2022-12-181
| | | | | | | | | | This updates sally to build and test against Go 1.19. Additionally, this upgrades the GitHub Action versions for checkout and setup-go. One of the features in setup-go v3 is that caching is built-in and opted-into with `cache: true`. Non-CI changes: gofmt, drop ioutil
* Update dependencies (#54)Abhinav Gupta2022-05-171
| | | | | | | | | | | | | | | Update all dependencies, use Go 1.18 to build and test, and delete outdated `bindata` clause in Makefile (we switched to `go:embed` in #50). Other minor changes: - Fix the golint import path (it switched to golang.org/x/lint long before it was deprecated) and fix the failing lint check. (Switching from golint to revive is out of scope for this PR.) - Delete .envrc -- this was transitional for when Go modules were optional.
* Use go embed for templates (#50)Luciano Nooijen2021-09-101
| | | | | | | | Go 1.16 includes a `//go:embed` directive that obviates the need for bindata. Use `//go:embed` instead of bindata for templates used in sally. Signed-off-by: Luciano Nooijen <luciano@bytecode.nl> Co-authored-by: Abhinav Gupta <abg@uber.com>
* Use Go 1.17 to test and build (#51)Abhinav Gupta2021-09-081
| | | | | | sally is not a library, so there's no reason to test it with two versions of Go. Use the latest version of Go to build and test it.
* fossa: Run separately, only on pushAbhinav Gupta2021-05-251
| | | | | | | | FOSSA analysis currently blocks CI on pull requests because they are denied access to secrets. Run FOSSA as a separate job only when we push to a branch of the project.
* Integrate FOSSA (#47)Manjari Akella2021-05-251
| | | | | Add a FOSSA check to the build steps. Resolves: GO-468
* Set up CI (#45)Dmitriy Shirchenko2021-05-171
Set up CI with GitHub actions.