Skip to content

improvment: add Gosec Security Scanner to CI workflow #39

improvment: add Gosec Security Scanner to CI workflow

improvment: add Gosec Security Scanner to CI workflow #39

name: End-to-End Tests
on:
push:
branches: [ '*' ]
jobs:
build-and-test:
name: Install docker and Run E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Run Gosec Security Scanner
run: |
go install github.com/securego/gosec/v2/cmd/gosec@latest
gosec -exclude-generated ./...
- name: Install Docker Compose
run: |
sudo apt-get update
sudo apt-get install docker-compose
docker-compose --version
- name: Build docker and Run E2E Tests
run: ./e2e_tests/run-e2e-tests.sh