mirror of
https://github.com/skidoodle/pastebin
synced 2026-04-28 11:17:41 +02:00
ci setup (pls work)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
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 ./...
|
||||
Reference in New Issue
Block a user