Skip to content

Merge pull request #100 from solusio/task-oneumyvakin-additional-disk… #237

Merge pull request #100 from solusio/task-oneumyvakin-additional-disk…

Merge pull request #100 from solusio/task-oneumyvakin-additional-disk… #237

Workflow file for this run

name: main
on:
push:
tags: [ v* ]
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
tests:
strategy:
matrix:
go-version:
- 1.19.x
- 1.20.x
- 1.21.x
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Test
run: go test -coverprofile=profile.cov
- name: Send coverage
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov
# Was broken, track progress here:
# https://github.com/golangci/golangci-lint-action/issues/244
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v2
# with:
# version: v1.42.1