Skip to content

Bump github.com/golangci/golangci-lint/v2 from 2.7.2 to 2.8.0 in /bui… #404

Bump github.com/golangci/golangci-lint/v2 from 2.7.2 to 2.8.0 in /bui…

Bump github.com/golangci/golangci-lint/v2 from 2.7.2 to 2.8.0 in /bui… #404

Workflow file for this run

name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
jobs:
goyek:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: '1.25'
cache-dependency-path: '**/go.sum'
- name: Build
run: ./goyek.sh -v all diff
compatibility-test:
strategy:
fail-fast: false
matrix:
go-version:
- '1.24'
- '1.25'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version: ${{ matrix.go-version }}
- run: go test -race ./...
compatibility-check:
runs-on: ubuntu-latest
if: ${{ always() }}
needs: [compatibility-test]
steps:
- name: Test if compatibility-test passed
run: |
echo ${{ needs.compatibility-test.result }}
test ${{ needs.compatibility-test.result }} == "success"