mirror of
https://github.com/mark3labs/kit.git
synced 2026-06-13 19:20:06 +00:00
f6ddd0b785
- CI: add golangci-lint job, target master branch, use Go 1.26 - Release: add workflow_dispatch for npm-only releases, Discord notifications, and npm-publish job for @mark3labs/kit - Goreleaser: upgrade to v2 schema, lowercase archive names, structured changelog groups, release header with install instructions - npm: add package scaffolding with postinstall binary downloader
33 lines
530 B
YAML
33 lines
530 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.26"
|
|
|
|
- uses: golangci/golangci-lint-action@v7
|
|
with:
|
|
version: v2.8.0
|
|
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version: "1.26"
|
|
|
|
- run: go test -race ./...
|