Skip to content

github actions trial #5

github actions trial

github actions trial #5

Workflow file for this run

name: Makefile CI
on:
push:
branches: [ "main" ]
tags:
- '*'
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
- name: Run tests
run: make test
- name: Run code coverage
run: make cover
- name: Make release binaries
run: make binary
- name: Upload Binaries
uses: actions/upload-artifact@v4
with:
name: pre-built-binaries
path: ./out/bin/*
- name: Upload code coverage file
uses: actions/upload-artifact@v4
with:
name: code-coverage-html-file
path: ./out/var/coverage.html