Skip to content

build(deps): bump github.com/onsi/gomega from 1.27.7 to 1.31.0 #59

build(deps): bump github.com/onsi/gomega from 1.27.7 to 1.31.0

build(deps): bump github.com/onsi/gomega from 1.27.7 to 1.31.0 #59

Workflow file for this run

name: dev
on:
push:
branch: [ "main" ]
pull_request:
jobs:
check:
name: Golang Check
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
args: --timeout=15m --tests=false --exclude-use-default
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: false
- name: Install dependencies
run: |
go mod download
- name: Run Unit tests
run: |
go test -race -covermode atomic -coverprofile=covprofile ./...
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Send coverage
env:
COVERALLS_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: goveralls -coverprofile=covprofile -service=github