Skip to content

Feature: Make audit verdicts visible in hubble-ui #1187

Feature: Make audit verdicts visible in hubble-ui

Feature: Make audit verdicts visible in hubble-ui #1187

Workflow file for this run

name: tests
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
frontend:
runs-on: ubuntu-latest
steps:
<<<<<<< HEAD

Check failure on line 14 in .github/workflows/tests.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/tests.yml

Invalid workflow file

You have an error in your yaml syntax on line 14
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
||||||| parent of b8806fb (wip)
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
=======
- uses: actions/checkout@3
>>>>>>> b8806fb (wip)
with:
submodules: true
- name: Use Node.js
uses: actions/setup-node@3
with:
node-version: '18.x'
- name: Install dependencies
run: npm install
- name: Run tests
run: npm test
backend:
runs-on: ubuntu-latest
steps:
- name: Checkout code
<<<<<<< HEAD
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3
||||||| parent of b8806fb (wip)
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
=======
uses: actions/checkout@3
>>>>>>> b8806fb (wip)
- name: Setup Go
<<<<<<< HEAD
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9
||||||| parent of b8806fb (wip)
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
=======
uses: actions/setup-go@4
>>>>>>> b8806fb (wip)
with:
go-version: '1.20'
- name: Check Go module vendoring
working-directory: ./backend
run: |
go mod tidy
go mod vendor
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run Go static checks
uses: golangci/golangci-lint-action@3
with:
working-directory: ./backend
version: v1.53
args: --config=.golangci.yml --verbose --out-${NO_FUTURE}format colored-line-number --timeout 3m
skip-cache: true
- name: Setup Node.js
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
with:
node-version: '18.x'
- name: Install NPM dependencies
run: npm install
- name: Check proto files
working-directory: ./backend
run: |
./ctl.sh update-proto
test -z "$(git status --porcelain)" || (echo "please run './ctl.sh update-proto', and submit your changes"; exit 1)