Skip to content

chore: add the prealloc linter for slices efficiency (#20) #9

chore: add the prealloc linter for slices efficiency (#20)

chore: add the prealloc linter for slices efficiency (#20) #9

Workflow file for this run

name: push-main
on:
push:
branches:
- main
jobs:
ci-lint:
name: Lint
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: read
steps:
- name: Linting Go
uses: smartcontractkit/.github/actions/ci-lint-go@7a4d99cb349ea8f25195d2390d157942031f8a57
with:
golangci-lint-version: v1.61.0
ci-test:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: read
steps:
- name: ci-test
uses: smartcontractkit/.github/actions/ci-test-go@7a4d99cb349ea8f25195d2390d157942031f8a57 # [email protected]
with:
go-test-cmd: go test -coverprofile=coverage.txt $(go list ./pkg/...)
use-go-cache: true