Skip to content

chore(deps): update go toolchain directive to v1.26.3 (#770) #1089

chore(deps): update go toolchain directive to v1.26.3 (#770)

chore(deps): update go toolchain directive to v1.26.3 (#770) #1089

name: Build
on:
push:
branches: [main]
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
- '.openapi/**'
pull_request:
branches: [main]
paths:
- '**.go'
- '.openapi/**'
- '.github/**'
jobs:
build:
env:
GOPATH: /home/runner/work/app-services-sdk-go/go
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v6
- uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4
id: filter
with:
base: main
list-files: shell
filters: |
github:
- '.github/**'
openapi:
- '.openapi/*'
go:
- '**.go'
- run: echo ${{ steps.filter.outputs.openapi }}
- name: Install Go
uses: actions/setup-go@v6
with:
go-version: 1.26.3
- name: Check Go modules match source code
run: ./scripts/go-mod-check.sh
- name: golangci-lint
if: steps.filter.outputs.go == 'true'
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9
with:
version: v2.12.2
args: --timeout 2m0s