1
0
Fork 0
golang-github-wcharczuk-go-.../.github/workflows/ci.yml
Daniel Baumann 41a2f19f12
Adding upstream version 2.1.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-18 07:17:02 +02:00

33 lines
546 B
YAML

name: "Continuous Integration"
on:
workflow_dispatch:
push:
branches: [ main ]
paths: [ "*.go" ]
pull_request:
branches: [ main ]
paths: [ "*.go" ]
jobs:
ci:
name: "Tests"
runs-on: ubuntu-latest
env:
GOOS: "linux"
GOARCH: "amd64"
GO111MODULE: "on"
CGO_ENABLED: "0"
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
- name: Check out go-incr
uses: actions/checkout@v3
- name: Run all tests
run: go test ./...