Tags: gin-contrib/authz
Tags
ci: refactor and update linting configurations and GitHub workflows - Update `golangci-lint-action` from v6 to v7 in GitHub workflow - Specify `version: v2.0` for `golangci-lint-action` in GitHub workflow - Add `version: "2"` to `.golangci.yml` configuration file - Replace `enable-all: false`, `disable-all: true`, and `fast: false` settings with `default: none` in `.golangci.yml` - Remove specific linter configurations such as `exportloopref`, `gofmt`, `goimports`, `gosimple`, `stylecheck`, and `typecheck` from `.golangci.yml` - Add exclusions and various presets configurations to `.golangci.yml` for generated code, comments, common false positives, legacy, std-error-handling, and specific paths (`third_party`, `builtin`, `examples`) - Enable `gofmt` and `goimports` formatters in `.golangci.yml` Signed-off-by: appleboy <[email protected]>
chore: update dependencies across the project - Update `casbin` dependency from `v2.85.0` to `v2.88.0` - Upgrade `sonic` dependency from `v1.11.3` to `v1.11.6` and add `sonic/loader` `v0.1.1` - Replace `chenzhuoyu/base64x` and `chenzhuoyu/iasm` with `cloudwego/base64x` `v0.1.4` and `cloudwego/iasm` `v0.2.0` - Increment `go-playground/validator` version from `v10.19.0` to `v10.20.0` - Update `pelletier/go-toml` from `v2.2.0` to `v2.2.2` - Upgrade `golang.org/x/crypto`, `golang.org/x/net`, and `golang.org/x/sys` to `v0.22.0`, `v0.24.0`, and `v0.19.0` respectively - Bump `google.golang.org/protobuf` from `v1.33.0` to `v1.34.0` Signed-off-by: Bo-Yi Wu <[email protected]>
ci: update GitHub Actions workflows for Go projects - Update CodeQL action to version 3 in `.github/workflows/codeql.yml` - Update `actions/checkout` to version 4 and add `fetch-depth: 0` in `.github/workflows/go.yml` - Update `golangci/golangci-lint-action` to version 4 in `.github/workflows/go.yml` - Update `actions/cache` to version 4 in `.github/workflows/go.yml` - Update `codecov/codecov-action` to version 4 in `.github/workflows/go.yml` - Change the name of the step from "Checkout" to "Checkout repository" in `.github/workflows/goreleaser.yml` - Update `actions/setup-go` to version 5 and add `go-version-file: go.mod` and `check-latest: true` in `.github/workflows/goreleaser.yml` - Change the `args` from `release --rm-dist` to `release --clean` in `.github/workflows/goreleaser.yml` Signed-off-by: appleboy <[email protected]>
ci: update Go workflows to use actions/setup-go@v4 and set go-version… … to '1.21' - Update the `go.yml` workflow to use `actions/setup-go@v4` instead of `actions/setup-go@v3` - Update the `goreleaser.yml` workflow to use `actions/setup-go@v4` instead of `actions/setup-go@v2` - Update the `goreleaser.yml` workflow to set the `go-version` to `'1.21'` instead of `1.17` Signed-off-by: Bo-Yi Wu <[email protected]>