Skip to content

chore(deps): bump shogo82148/actions-goveralls from 1.9.0 to 1.9.1 #1751

chore(deps): bump shogo82148/actions-goveralls from 1.9.0 to 1.9.1

chore(deps): bump shogo82148/actions-goveralls from 1.9.0 to 1.9.1 #1751

Workflow file for this run

name: CI
on: [push, pull_request]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Setup Go
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.mod'
- name: Setup buf dependencies
run: |
go install github.com/bufbuild/buf/cmd/buf@v1.48.0 && \
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2@v2.25.1 && \
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc && \
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway@v2.25.1 && \
go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.1
- name: Cache go modules
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-
- name: Make buf
run: |
make buf
- name: Check if Go code has changed
run: |
if git diff; then
echo "Generated Go code has not changed."
else
echo "Generated Go code has changed. Please make sure to commit the changes."
exit 1
fi
- name: Run go tests
run: make unit-tests
- name: Upload coverage to Coveralls
uses: shogo82148/actions-goveralls@e6875f831db61e6abffbd8df91a2eb6cd24b46c9 # v1.9.1
with:
path-to-profile: 'cov.out'
go-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version-file: 'go.mod'
- name: go-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1