Skip to content

chore: remove fx module and related RBAC options #7

chore: remove fx module and related RBAC options

chore: remove fx module and related RBAC options #7

Workflow file for this run

name: Audit
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v6
- name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run linter
uses: golangci/golangci-lint-action@v9
with:
version: v2.7.1
args: -v --timeout=5m --build-tags=race
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup Go
uses: actions/setup-go@v6
with:
go-version-file: go.mod
cache-dependency-path: go.sum
- name: Run tests
run: go test -race -v -coverprofile=coverage.txt --covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true