Skip to content

Merge pull request #50 from onokonem/dependabot/github_actions/action… #82

Merge pull request #50 from onokonem/dependabot/github_actions/action…

Merge pull request #50 from onokonem/dependabot/github_actions/action… #82

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: Test
jobs:
lint:
name: runner / golangci-lint
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v4.2.2
- name: golangci-lint
uses: reviewdog/action-golangci-lint@v2.6
test:
strategy:
matrix:
go-version: [1.22.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Check out
uses: actions/checkout@v4.2.2
- name: go test
run: go test -v -race -coverprofile=profile.cov ./...
- name: Send coverage
uses: shogo82148/actions-goveralls@v1.9.0
with:
path-to-profile: profile.cov