Refactor build process and update module path and Go version #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 | |
- name: Set up Go | |
uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2 | |
with: | |
go-version: '1.22.5' | |
- name: Build | |
run: make build | |
- name: Test | |
run: make test |