Skip to content

Bump eslint from 8.57.0 to 9.3.0 #138

Bump eslint from 8.57.0 to 9.3.0

Bump eslint from 8.57.0 to 9.3.0 #138

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@v4
with:
fetch-depth: 10
- uses: actions/setup-go@v5
with:
go-version: 1.22
- 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@v7
with:
script: |
core.setFailed('Incorrect coverage-pct: ${{ steps.coverage.outputs.coverage-pct }}')
- if: steps.coverage.outputs.coverage-pct-0dp != '67'
uses: actions/github-script@v7
with:
script: |
core.setFailed('Incorrect coverage-pct-0dp: ${{ steps.coverage.outputs.coverage-pct-0dp }}')
- if: steps.coverage.outputs.coverage-pct-1dp != '66.7'
uses: actions/github-script@v7
with:
script: |
core.setFailed('Incorrect coverage-pct-1dp: ${{ steps.coverage.outputs.coverage-pct-1dp }}')