mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
26 lines
411 B
YAML
26 lines
411 B
YAML
name: Go Test (oldstable)
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "**.go"
|
|
pull_request:
|
|
paths:
|
|
- "**.go"
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: 'oldstable'
|
|
|
|
- name: Build
|
|
run: go build -v ./cmd/...
|
|
|
|
- name: Tests
|
|
run: go test -v ./...
|