mirror of
https://github.com/zoriya/bubbles.git
synced 2026-08-05 12:46:14 +00:00
b52e21a626
Bumps the all group with 1 update: [actions/setup-go](https://github.com/actions/setup-go). Updates `actions/setup-go` from 6 to 7 - [Release notes](https://github.com/actions/setup-go/releases) - [Commits](https://github.com/actions/setup-go/compare/v6...v7) --- updated-dependencies: - dependency-name: actions/setup-go dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: all ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
29 lines
698 B
YAML
29 lines
698 B
YAML
name: coverage
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
coverage:
|
|
strategy:
|
|
matrix:
|
|
go-version: [^1.22]
|
|
os: [ubuntu-latest]
|
|
runs-on: ${{ matrix.os }}
|
|
env:
|
|
GO111MODULE: "on"
|
|
steps:
|
|
- name: Install Go
|
|
uses: actions/setup-go@v7
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Checkout code
|
|
uses: actions/checkout@v7
|
|
|
|
- name: Coverage
|
|
env:
|
|
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: |
|
|
go test -race -covermode atomic -coverprofile=profile.cov ./...
|
|
go install github.com/mattn/goveralls@latest
|
|
goveralls -coverprofile=profile.cov -service=github
|