Skip to content

Update README: 72 tools, content forks, AI chat widget, Glama badge #55

Update README: 72 tools, content forks, AI chat widget, Glama badge

Update README: 72 tools, content forks, AI chat widget, Glama badge #55

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Build
run: CGO_ENABLED=0 go build ./...
test:
runs-on: ubuntu-latest
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
DATABASE_NAME: lightcms-test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
- name: Run tests with coverage
run: |
CGO_ENABLED=0 go test ./... \
-coverprofile=coverage.out \
-covermode=atomic \
-timeout=900s \
-p 1
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v5
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}