Skip to content

Upgrade Go, use generics instead of interface, use slice.Equal and in… #414

Upgrade Go, use generics instead of interface, use slice.Equal and in…

Upgrade Go, use generics instead of interface, use slice.Equal and in… #414

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@v4
- uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
- uses: github/super-linter@v5
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
VALIDATE_SHELL_SHFMT: false
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- run: go test -v -coverprofile=profile.cov ./...
- uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov