Skip to content

feat:update version to go1.20 #195

feat:update version to go1.20

feat:update version to go1.20 #195

Workflow file for this run

name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: Build
run: |
go test -covermode=count -coverprofile=coverage.out ./...
- name: Convert coverage to lcov
uses: jandelgado/[email protected]
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: coverage.lcov
- name: Build
run: |
go build -o "$Project"