aboutsummaryrefslogtreecommitdiff
path: root/.github (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-04-29ci: gofmt, golint => revive, update tools and actions (#87)Gravatar Abhinav Gupta 1-0/+10
Fixes up the `make lint` target to also check that all files are properly gofmt-ed, replaces the deprecated `golint` check with `revive`, and sets up dependabot to also update tools and actions regularly.
2023-04-21ci: Publish Docker image to ghcr.io on release (#82)Gravatar Abhinav Gupta 2-0/+65
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)Gravatar Abhinav Gupta 1-1/+1
Upgrades to latest release of Go for CI. This requires switching staticcheck to the latest release as well.
2022-12-18Set up dependabot (#59)Gravatar Abhinav Gupta 1-0/+6
sally is a binary, not a library so it's okay to keep it on the latest dependencies. This sets up dependabot updates for Go modules used by sally.
2022-12-18ci: Use Go 1.19 and update GH actions (#58)Gravatar Abhinav Gupta 1-11/+5
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)Gravatar Abhinav Gupta 1-1/+1
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)Gravatar Luciano Nooijen 1-1/+0
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)Gravatar Abhinav Gupta 1-8/+3
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 pushGravatar Abhinav Gupta 2-5/+17
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)Gravatar Manjari Akella 1-0/+5
Add a FOSSA check to the build steps. Resolves: GO-468
2021-05-17Set up CI (#45)Gravatar Dmitriy Shirchenko 1-0/+45
Set up CI with GitHub actions.