Skip to content

swithc to node20, compile dist #1

swithc to node20, compile dist

swithc to node20, compile dist #1

Workflow file for this run

name: "CI"
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 10
- uses: actions/setup-go@v3
with:
go-version: 1.18
- uses: ./
id: coverage
with:
working-directory: test-go-module
coverage-threshold: 0
cover-pkg: ./...
- if: steps.coverage.outputs.coverage-pct < 40
uses: actions/github-script@v6
with:
script: |
core.setFailed('Incorrect coverage-pct: ${{ steps.coverage.outputs.coverage-pct }}')