Skip to content

Commit

Permalink
github/workflow: Update test action (#17)
Browse files Browse the repository at this point in the history
* github/workflow: Update test action

* Update test.yml
  • Loading branch information
echarrod authored Nov 1, 2024
1 parent ff41883 commit 89ed637
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/go.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go
name: Run Tests

on:
push:
Expand All @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
mysql: ['mysql:8']
go: ['1.21', '1.22', '1']
go: ['1.22', '1']

services:
mysql:
Expand Down Expand Up @@ -45,8 +45,5 @@ jobs:
- name: Vet
run: go vet ./...

- name: Build
run: go build -v .

- name: Test
run: go test -db_test_base="root@tcp(localhost:${{ job.services.mysql.ports[3306] }})/test?" ./...

0 comments on commit 89ed637

Please sign in to comment.