Skip to content

Merge pull request #147 from pashagolub/sweep/add-sweep-config #183

Merge pull request #147 from pashagolub/sweep/add-sweep-config

Merge pull request #147 from pashagolub/sweep/add-sweep-config #183

Workflow file for this run

name: Build & Test
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
jobs:
build-and-test:
if: true # false to skip job during debug
name: Test and Build on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Golang
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Get dependencies
run: |
go mod download
go version
- name: GolangCI-Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
- name: Test
run: go test -v -coverprofile=profile.cov
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov