Add Filtering, HealthCheck, Better Tests (#350)
feat: add filtering when choosing merge requests (#346) feat: Add healthcheck (#345) refactor: Move to gomock (#349) feat: Makes the remote of the plugin configurable (#348) This is a #MINOR release.
This commit is contained in:
committed by
GitHub
parent
aa5d3c1f52
commit
4ae623cd65
7
.github/CONTRIBUTING.md
vendored
7
.github/CONTRIBUTING.md
vendored
@@ -38,6 +38,13 @@ $ go fmt ./...
|
||||
$ golangci-lint run
|
||||
```
|
||||
|
||||
If you are writing tests and have added something to the Go client, you can re-generate the mocked client like so:
|
||||
|
||||
```bash
|
||||
$ go install go.uber.org/mock/mockgen@latest # Install the mockgen CLI on your machine
|
||||
$ mockgen -source cmd/types.go > cmd/mocks/fake_client.go
|
||||
```
|
||||
|
||||
For changes to the Lua codebase: We use <a href="https://github.com/JohnnyMorganz/StyLua">stylua</a> for formatting and <a href="https://github.com/mpeterv/luacheck">luacheck</a> for linting. Run these commands in the root of the repository:
|
||||
|
||||
```bash
|
||||
|
||||
2
.github/workflows/lua.yaml
vendored
2
.github/workflows/lua.yaml
vendored
@@ -46,7 +46,7 @@ jobs:
|
||||
- name: Install luajit
|
||||
uses: leafo/gh-actions-lua@v10
|
||||
with:
|
||||
luaVersion: "luajit-2.1.0-beta3"
|
||||
luaVersion: "luajit-openresty"
|
||||
- name: Install luarocks
|
||||
uses: leafo/gh-actions-luarocks@v4
|
||||
- name: Run tests
|
||||
|
||||
Reference in New Issue
Block a user