Skip to content

chore(deps): bump the github-actions group across 1 directory with 3 updates #17

chore(deps): bump the github-actions group across 1 directory with 3 updates

chore(deps): bump the github-actions group across 1 directory with 3 updates #17

Workflow file for this run

name: CI
on:
push:
branches: [main]
tags: ['v*']
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
pull_request:
branches: [main]
paths-ignore:
- '**/*.md'
- 'LICENSE'
- '.github/ISSUE_TEMPLATE/**'
- '.github/PULL_REQUEST_TEMPLATE.md'
workflow_dispatch:
permissions:
contents: read
jobs:
quality:
name: Build & Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
with:
go-version-file: go.mod
cache: true
- name: Verify dependencies
run: make deps
- name: Run quality checks
run: make check
# 宿主机编译不会应用 .dockerignore;必须构建真实镜像上下文,避免遗漏源码目录。
- name: Build Docker image
run: docker build --build-arg VERSION=0.0.0-ci --tag starcat-discovery-api:ci .
- name: Build server
run: make build