Skip to content

ci/cd initialization #4

ci/cd initialization

ci/cd initialization #4

Workflow file for this run

name: ci
on:
pull_request:
branches: [master]
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.21'
- name: Echo Go Version
run: go version
- name: Run go fmt
run: go fmt
- name: Check if all unit tests are passing
run: go test ./... -cover