Skip to content

Bump vite from 4.5.2 to 4.5.3 in /frontend #149

Bump vite from 4.5.2 to 4.5.3 in /frontend

Bump vite from 4.5.2 to 4.5.3 in /frontend #149

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