chore(deps): update actions/setup-go digest to 41dfa10 #541
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Tests | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
tests: | |
name: Run tests and determine code coverage % | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up git repository | |
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- name: Set up Go | |
uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5 | |
with: | |
go-version: "1.22" | |
cache-dependency-path: "**/*.sum" | |
- name: Set git config | |
run: | | |
git config --global user.name "John Doe" | |
git config --global user.email [email protected] | |
- name: Generate the coverage output | |
run: | | |
bash .hooks/run-go-tests.sh coverage | |
- name: Send the coverage output | |
uses: shogo82148/actions-goveralls@785c9d68212c91196d3994652647f8721918ba11 # v1 | |
with: | |
path-to-profile: coverage-all.out |