Skip to content

Merge pull request #9 from six-group/remove-version-go #22

Merge pull request #9 from six-group/remove-version-go

Merge pull request #9 from six-group/remove-version-go #22

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
jobs:
mod:
name: basic
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- uses: actions/checkout@v4
- run: go mod tidy && git diff --exit-code go.mod go.sum
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54
ginkgo:
name: unit-test
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- uses: actions/checkout@v4
- run: go run github.com/onsi/ginkgo/v2/[email protected] -r --randomize-all --randomize-suites --race --trace --fail-on-pending --keep-going --vet off --cover
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: coverprofile.out