mirror of
https://github.com/0x1d/rcond.git
synced 2025-12-14 18:25:21 +01:00
27 lines
401 B
YAML
27 lines
401 B
YAML
name: main
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'cmd/**'
|
|
- 'pkg/**'
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: '1.23.4'
|
|
- name: Run build
|
|
run: go build -v ./...
|
|
|
|
- name: Run tests
|
|
run: go test -v ./...
|