Skip to content

Commit

Permalink
Update test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaqx committed Jul 9, 2024
1 parent be267c8 commit 53bffcd
Showing 1 changed file with 14 additions and 7 deletions.
21 changes: 14 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
name: Test
on: [push, pull_request]

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
test:
strategy:
matrix:
go-version: [1.16.x]
go-version: ['latest', '1.16.x']
runs-on: ubuntu-latest
steps:
- name: Install Go
uses: actions/setup-go@v2
- uses: actions/checkout@v4
-
name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
-
name: Test
run: go test -v -race ./...

0 comments on commit 53bffcd

Please sign in to comment.