Skip to content

build(deps): update golangci/golangci-lint-action action to v5 - autoclosed #1885

build(deps): update golangci/golangci-lint-action action to v5 - autoclosed

build(deps): update golangci/golangci-lint-action action to v5 - autoclosed #1885

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "./go.mod"
- name: Compile app
run: go build
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "./go.mod"
- name: Check formatting
run: gofmt -l .
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout git repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "./go.mod"
- name: Lint
uses: golangci/golangci-lint-action@v5
with:
version: latest