Skip to content

Bump braces from 3.0.2 to 3.0.3 in /frontend #157

Bump braces from 3.0.2 to 3.0.3 in /frontend

Bump braces from 3.0.2 to 3.0.3 in /frontend #157

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21.0
- name: Build
working-directory: backend
run: go build -v -o poker cmd/poker.go
- name: Run coverage
working-directory: backend
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage reports to Codecov with GitHub Action
uses: codecov/codecov-action@v3