Skip to content

8224 report required permissions when authorization fails #15687

8224 report required permissions when authorization fails

8224 report required permissions when authorization fails #15687

Workflow file for this run

name: Test
on:
push:
branches:
- master
pull_request:
jobs:
validator:
name: Run Linters and Checkers
runs-on: ubuntu-22.04
steps:
- name: Check-out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22.6"
- uses: actions/setup-node@v4
with:
node-version: "18.17.0"
cache: "npm"
cache-dependency-path: webui/package-lock.json
- uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- name: Generate code
env:
NODE_OPTIONS: "--max-old-space-size=4096"
run: |
make gen
make validate-clients-untracked-files
- name: Checks validator
env:
GOLANGCI_LINT_FLAGS: --out-format github-actions
run: make checks-validator
test-go:
name: Run Go tests
runs-on: ubuntu-22.04
steps:
- name: Check-out code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "1.22.6"
- name: Run Go tests
run: |
mkdir ./webui/dist
touch ./webui/dist/index.html
make test-go