1
0
Wiktor Zykubek 7b52bf44aa
Some checks failed
Go / build (push) Failing after 20s
ci: upload binary after build
2024-12-27 06:44:21 +01:00

31 lines
492 B
YAML

name: Go
on:
push:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.23.4'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...
- name: Upload binary as artifact
uses: actions/upload-artifact@v4
with:
name: licensmith
path: licensmith