Skip to content

feat: fix ssl mode and add ghcr (#133) #119

feat: fix ssl mode and add ghcr (#133)

feat: fix ssl mode and add ghcr (#133) #119

Workflow file for this run

name: ci-server
on:
workflow_call:
workflow_dispatch:
push:
paths:
- 'server/**'
- '.github/workflows/ci-server.yaml'
pull_request:
paths:
- 'server/**'
- '.github/workflows/ci-server.yaml'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./server
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: Build
run: |
go mod tidy
go build -v ./...
- name: Lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.64.8
install-mode: goinstall
working-directory: ./server
- name: Unit test
run: |
go mod tidy
go test -v ./...
- name: E2E Test
run: |
go mod tidy
cd e2e && make e2e