Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement CI for backend-go #444

Merged
merged 12 commits into from
Feb 2, 2025
40 changes: 40 additions & 0 deletions .github/workflows/ci_backend_go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI GO Backend
on:
push:
branches: [main]
paths:
- ".github/workflows/ci_backend_go.yaml"
- "backend-go/**"
pull_request:
branches: [main]
paths:
- ".github/workflows/ci_backend_go.yaml"
- "backend-go/**"
devleejb marked this conversation as resolved.
Show resolved Hide resolved

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Check out code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.18'

- name: Install Tools
run: make tools

- name: Build
run: make build

- name: Format
run: make fmt

- name: Lint
run: make lint

- name: Test
run: make test
devleejb marked this conversation as resolved.
Show resolved Hide resolved
Loading