Skip to content

add problem counter #304

add problem counter

add problem counter #304

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: github/super-linter@v4
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USE_FIND_ALGORITHM: true
VALIDATE_ALL_CODEBASE: true
VALIDATE_JSCPD: false
MARKDOWN_CONFIG_FILE: .markdownlint.yml
YAML_CONFIG_FILE: .yamllint.yml
VALIDATE_GITLEAKS: false
LOG_LEVEL: WARN
- uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/
~/go/bin/
key: go-cache-${{ hashFiles('go.sum') }}
- run: go test -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov