Skip to content

build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 #577

build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0

build(deps): bump golangci/golangci-lint-action from 7.0.0 to 8.0.0 #577

Workflow file for this run

---
name: CI
on:
push:
tags:
- v*
branches:
- master
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false # see https://github.com/golangci/golangci-lint-action/issues/807
- name: lint
uses: golangci/golangci-lint-action@v8.0.0
with:
version: v2.1.0
tests-on-unix:
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
runs-on: ubuntu-latest
strategy:
matrix:
golang:
- 'stable'
- 'oldstable'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.golang }}
- name: Run tests
run: make test