aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows (unfollow)
Commit message (Collapse)AuthorFiles
2024-02-19Bump fossas/fossa-action from 1.3.1 to 1.3.3dependabot[bot]1
Bumps [fossas/fossa-action](https://github.com/fossas/fossa-action) from 1.3.1 to 1.3.3. - [Release notes](https://github.com/fossas/fossa-action/releases) - [Commits](https://github.com/fossas/fossa-action/compare/v1.3.1...v1.3.3) --- updated-dependencies: - dependency-name: fossas/fossa-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2023-12-12Bump actions/setup-go from 4 to 5dependabot[bot]1
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>
2023-11-08Bump docker/build-push-action from 4 to 5 (#114)dependabot[bot]2
2023-11-08Bump docker/metadata-action from 4 to 5 (#113)dependabot[bot]1
2023-11-08Bump docker/login-action from 2 to 3 (#112)dependabot[bot]1
2023-11-08Bump docker/setup-buildx-action from 2 to 3 (#115)dependabot[bot]2
2023-11-08Bump fossas/fossa-action from 1.1.0 to 1.3.1 (#123)dependabot[bot]1
2023-10-31Bump actions/checkout from 3 to 4 (#110)dependabot[bot]3
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-10-21ci: Use golangci-lint for linting (#121)Abhinav Gupta1
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
2023-10-18Add support for sub-indexes (#120)Abhinav Gupta1
<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
2023-10-11Update fossa action to v1.1.0 (#118)r-hang1
The FOSSA check has been failing for a while with fossa-actions@v1 Error: Input required and not supplied: api-key This has caused the dependabot queue to backup, can we can't merge them manually in sally because this check is required. Updating the version seems to cause the check to run successfully again. Other repositories have run into the same issue ref: https://github.com/getsentry/self-hosted/issues/1351
2023-06-01ci: Update actions (#99)Abhinav Gupta2
Updates the checkout, setup-go, and codecov GitHub Actions. Supersedes #88, #89, #90
2023-04-21ci: Publish Docker image to ghcr.io on release (#82)Abhinav Gupta2
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.
2023-02-04ci: Build against Go 1.20 (#76)Abhinav Gupta1
Upgrades to latest release of Go for CI. This requires switching staticcheck to the latest release as well.
2022-12-18ci: Use Go 1.19 and update GH actions (#58)Abhinav Gupta1
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
2022-05-17Update dependencies (#54)Abhinav Gupta1
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.
2021-09-10Use go embed for templates (#50)Luciano Nooijen1
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>
2021-09-08Use Go 1.17 to test and build (#51)Abhinav Gupta1
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.
2021-05-25fossa: Run separately, only on pushAbhinav Gupta2
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.
2021-05-25Integrate FOSSA (#47)Manjari Akella1
Add a FOSSA check to the build steps. Resolves: GO-468
2021-05-17Set up CI (#45)Dmitriy Shirchenko1
Set up CI with GitHub actions.