Commit Graph

1 Commits

Author SHA1 Message Date
appleboy 52993a9e36
ci: add GitHub Actions workflow for linting and caching Go dependencies
- Add a new file `.gitea/workflows/test.yml`
- Set up a workflow named `checks`
- Trigger the workflow on `push` and `pull_request`
- Set environment variables `GOPATH` and `GOCACHE`
- Define a job named `lint` that runs on `ubuntu-latest`
- Add steps to the `lint` job, including checking out the code, setting up Go, and caching Go dependencies

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-01-27 23:09:35 +08:00