Skip to content

Fix The CI Error With Wrong Golang Version #12

Fix The CI Error With Wrong Golang Version

Fix The CI Error With Wrong Golang Version #12

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
env:
GOPATH: ${{ github.workspace }}/go
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.20.x
cache: true
- name: Run tests
run: go test -v ./...
- name: Build project
run: make build