Skip to content

chore(deps): pin dependencies #8

chore(deps): pin dependencies

chore(deps): pin dependencies #8

Workflow file for this run

name: golang
on:
pull_request:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with: { go-version: stable }
- name: build
run: make build
coverage:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with: { fetch-depth: 10 }
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with: { go-version: stable }
- uses: gwatts/go-coverage-action@2845595538a59d63d1bf55f109c14e104c6f7cb3 # v2
id: coverage
with: { cover-pkg: ./... }
golangci:
needs: build
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5
with:
go-version: stable
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6
with:
version: latest
args: --timeout=3m