Skip to content

build(deps): bump amannn/action-semantic-pull-request (#45) #159

build(deps): bump amannn/action-semantic-pull-request (#45)

build(deps): bump amannn/action-semantic-pull-request (#45) #159

Workflow file for this run

name: Tests / Code Coverage
on:
pull_request:
merge_group:
push:
branches:
- main
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-tests
cancel-in-progress: true
jobs:
test-rosetta:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: "1.20"
check-latest: true
cache: true
cache-dependency-path: go.sum
- uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
*
**/*.go
go.mod
go.sum
Makefile
- name: tests
if: env.GIT_DIFF
run: |
make plugin && make test
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic ./...