mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 19:27:40 +02:00
24 lines
413 B
YAML
24 lines
413 B
YAML
name: CI
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v5
|
|
with:
|
|
go-version: '1.26.2'
|
|
|
|
- name: Build
|
|
run: go build -v ./...
|
|
|
|
- name: Test with Coverage
|
|
run: go test -v -coverprofile=coverage.out ./...
|