Generator: Update SDK /services/sqlserverflex #1862
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: CI Workflow | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
main: | |
name: CI | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
go-version: ["1.18", "1.19", "1.20", "1.21", "1.22", "1.23"] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Go ${{ matrix.go-version }} | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Install project tools and dependencies | |
if: ${{ matrix.go-version == '1.23' }} | |
run: make project-tools | |
- name: Lint | |
if: ${{ matrix.go-version == '1.23' }} | |
run: | | |
make lint | |
scripts/check-sync-tidy.sh | |
- name: Lint scripts | |
if: ${{ matrix.go-version == '1.23' }} | |
run: | | |
make lint-scripts | |
- name: Test | |
run: make test | |
- name: Test scripts | |
if: ${{ matrix.go-version >= '1.22' }} | |
run: make test-scripts |