Skip to content

Feature RBAC maintenance (draft) #341

Feature RBAC maintenance (draft)

Feature RBAC maintenance (draft) #341

Workflow file for this run

name: check
on:
push:
branches:
- main
- master
pull_request:
env:
GO_VERSION: '1.25'
GO_LINT: 'v2.8.0'
permissions:
contents: read
jobs:
check_linter_version:
name: check golangci-lint version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check golangci-lint version
run: make lint-check-version
check:
runs-on: ubuntu-latest
needs: check_linter_version
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
with:
version: ${{ env.GO_LINT }}
test:
name: go-test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- run: make test