Skip to content

Bump markdownlint-cli2 from 0.15.0 to 0.16.0 in the all group (#131) #308

Bump markdownlint-cli2 from 0.15.0 to 0.16.0 in the all group (#131)

Bump markdownlint-cli2 from 0.15.0 to 0.16.0 in the all group (#131) #308

Workflow file for this run

# SPDX-FileCopyrightText: 2021 Wharf (Iver Sverige AB)
#
# SPDX-License-Identifier: MIT
name: Go format
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
goimports:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install goimports
run: go install golang.org/x/tools/cmd/goimports@latest
- name: Format all .go files
run:
echo "Checking files:"
find . -name '*.go' -not -path './api/**'
goimports -w $(find . -name '*.go' -not -path './api/**')
- uses: reviewdog/action-suggester@v1
with:
tool_name: goimports