github-action: bump actions/setup-go from 4.1.0 to 5.2.0 #1219
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: Go | |
on: [push, pull_request] | |
env: | |
GO_VERSION: "1.21" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | |
- name: "Install Go ${{env.GO_VERSION}}" | |
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a | |
with: | |
go-version: "${{env.GO_VERSION}}" | |
- name: Run tests | |
run: | | |
make test_unit | |
- name: Run postgres 12 tests | |
run: | | |
make start_postgres_12 run_postgres_sql_tests stop_postgres_12 | |
- name: Run postgres 13 tests | |
run: | | |
make start_postgres_13 run_postgres_sql_tests stop_postgres_13 | |
- name: Run mysql 8.0 | |
run: | | |
make start_mysql_80 run_mysql_sql_tests stop_mysql_80 |