Skip to content

Update golangci-lint to v1.56.2 and always install go #357

Update golangci-lint to v1.56.2 and always install go

Update golangci-lint to v1.56.2 and always install go #357

Workflow file for this run

# SPDX-FileCopyrightText: 2023 The Pion community <https://pion.ly>
# SPDX-License-Identifier: MIT
name: Format
on:
pull_request:
jobs:
shfmt:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Apply format
run: go run mvdan.cc/sh/v3/cmd/shfmt@latest -i 2 -ci -bn -l -w .
- name: Check diff
run: git diff --exit-code