Skip to content

chore(deps): update actions/setup-go digest to fac708d #2596

chore(deps): update actions/setup-go digest to fac708d

chore(deps): update actions/setup-go digest to fac708d #2596

Workflow file for this run

# name of the action
name: test
# trigger on pull_request or push events
on:
pull_request:
push:
permissions:
contents: read
# pipeline to execute
jobs:
test:
permissions:
pull-requests: write # so coveralls can write to the PR
runs-on: ubuntu-latest
steps:
- name: clone
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: install go
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4
with:
# use version from go.mod file
go-version-file: 'go.mod'
cache: true
check-latest: true
- name: test
run: |
make test-coverage
- name: install goveralls
run: go install github.com/mattn/goveralls@latest
- name: send to coveralls
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -coverprofile=coverage.out -service=github