Replace duplicated IsEnterprise and IsTenancy functions in api pkg with auth pkg #679
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: "1.21" | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check dependencies | |
run: | | |
go mod tidy | |
git diff --exit-code go.mod | |
- name: Lint | |
uses: golangci/golangci-lint-action@v3.4.0 | |
with: | |
version: v1.54 |