Bumped to 1.23 #555
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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- 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 |