Skip to content

chore(deps): update dependency go to v1.25.4 #604

chore(deps): update dependency go to v1.25.4

chore(deps): update dependency go to v1.25.4 #604

Workflow file for this run

name: Run static checks and unit tests
on:
push:
branches:
- main
- v*
pull_request:
branches:
- main
- v*
jobs:
main:
strategy:
matrix:
go-version: ["1.24", "1.25"]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Build
run: make
- name: Run static checks
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
with:
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.6.1
args: --config=.golangci.yml --verbose
skip-cache: true
- name: Check module tidiness
run: |
go mod tidy -compat=1.24
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.24', and commit your changes"; exit 1)
- name: Run unit tests
run: make test
cmd:
strategy:
matrix:
go-version: ["1.24", "1.25"]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Build
working-directory: ./cmd
run: make
- name: Run static checks
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
with:
working-directory: ./cmd
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.6.1
args: --config=../.golangci.yml --verbose
skip-cache: true
- name: Check module tidiness
working-directory: ./cmd
run: |
go mod tidy -compat=1.24
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.24', and commit your changes"; exit 1)
- name: Run unit tests
working-directory: ./cmd
run: make test
flow:
strategy:
matrix:
go-version: ["1.24", "1.25"]
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Build
working-directory: ./flow
run: make
- name: Run static checks
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
with:
working-directory: ./flow
# renovate: datasource=github-releases depName=golangci/golangci-lint
version: v2.6.1
args: --config=../.golangci.yml --verbose
skip-cache: true
- name: Check module tidiness
working-directory: ./flow
run: |
go mod tidy -compat=1.24
go mod verify
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy -compat=1.24', and commit your changes"; exit 1)
- name: Run unit tests
working-directory: ./flow
run: make test