Skip to content

Always run CI workflow on main regardless of which files have changed #11

Always run CI workflow on main regardless of which files have changed

Always run CI workflow on main regardless of which files have changed #11

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- 'main'
jobs:
unit_tests:
name: "Unit tests"
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: ^1.22
- name: Test
run: go test -v -cover -coverprofile=coverage.txt -covermode=count ./...
- name: Archive code coverage results
uses: actions/upload-artifact@v4
with:
name: code-coverage
path: coverage.txt