Skip to content

Commit

Permalink
Create ci_go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
RaphSku committed Mar 11, 2024
1 parent 2f97ff0 commit 845995c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci_go.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Go CI

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

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ['1.21', '1.22']
steps:
- uses: actions/checkout@v3
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Test with coverage
run: go test -v ./... --timeout 5m -cover

0 comments on commit 845995c

Please sign in to comment.