Skip to content

Commit

Permalink
github-workflows: add basic CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
yookoala committed Nov 15, 2023
1 parent 758c045 commit 9f3faaf
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Go Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.17', '1.18', '1.19', '1.20', '1.21.x' ]

steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
# You can test your matrix by printing the current Go version
- name: Display Go version
run: go version

0 comments on commit 9f3faaf

Please sign in to comment.