Skip to content

Commit

Permalink
Update GitHub Actions stack
Browse files Browse the repository at this point in the history
  • Loading branch information
gyndav committed Mar 7, 2024
1 parent d4fe9ae commit 208f5ad
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.20.x]
go-version: ["1.21", "1.22"]

services:
postgres:
Expand All @@ -18,19 +18,19 @@ jobs:
mysql:
image: mysql:8.0
ports:
- 3306:3306
- 3306:3306
env:
MYSQL_ROOT_PASSWORD: sqalx
MYSQL_USER: sqalx
MYSQL_PASSWORD: sqalx
MYSQL_DATABASE: sqalx

steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: make test
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: make test

0 comments on commit 208f5ad

Please sign in to comment.