Skip to content

feat: ci-cd 설정

feat: ci-cd 설정 #22

Workflow file for this run

name: backend test for PR to main
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22.5
- name: Build file
run: go build ./cmd/main.go
- name: Test with the Go CLI
run: go test