feat: upgrade go to 1.23 #1687
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: AWS Lambda Router CI | |
on: | |
pull_request: | |
paths: | |
- "aws-lambda-router/**/*" | |
- "router-tests/**/*" | |
- ".github/workflows/aws-lambda-router-ci.yaml" | |
concurrency: | |
group: ${{github.workflow}}-${{github.head_ref}} | |
cancel-in-progress: true | |
env: | |
CI: true | |
jobs: | |
build_test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./.github/actions/go | |
with: | |
cache-dependency-path: aws-lambda-router/go.sum | |
- uses: ./.github/actions/go-mod-tidy | |
with: | |
working-directory: ./aws-lambda-router | |
- name: Install tools | |
run: make setup-build-tools | |
- name: Generate code | |
run: make generate-go | |
- name: Check if git is not dirty after generating files | |
run: git diff --no-ext-diff --exit-code | |
- name: Install dependencies | |
working-directory: ./aws-lambda-router | |
run: go mod download | |
- name: Run linters on router | |
uses: ./.github/actions/go-linter | |
with: | |
working-directory: ./aws-lambda-router | |
- name: Test | |
working-directory: ./aws-lambda-router | |
run: make test | |
- name: Build | |
working-directory: ./aws-lambda-router | |
run: make build |