Skip to content

chore(deps): update module github.com/gin-contrib/cors to v1.6.0 [security] #337

chore(deps): update module github.com/gin-contrib/cors to v1.6.0 [security]

chore(deps): update module github.com/gin-contrib/cors to v1.6.0 [security] #337

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:
paths:
- .github/**
- server/**
branches: [ "dev","main" ]
pull_request:
paths:
- .github/**
- server/**
branches: [ "dev","main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
- name: Set up db
run: cd server && make run-db
- name: Build
run: cd server && go build -v ./...
- name: Test
run: |
cd server && go test -v ./...