Skip to content

Commit

Permalink
Merge pull request #1 from kucherenkovova/github-ci
Browse files Browse the repository at this point in the history
added ci pipeline
  • Loading branch information
kucherenkovova authored May 20, 2024
2 parents b7f6d60 + a0bd92a commit 19f7652
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'ci'

on:
push:
branches:
- main
pull_request:

jobs:
ci:
strategy:
matrix:
os: [ 'ubuntu-22.04' ]
go: [ '1.21', '1.22' ]
runs-on: ${{ matrix.os }}
steps:
- name: 'Checkout source code'
uses: 'actions/checkout@v3'

- name: 'Set up Go'
uses: 'actions/setup-go@v4'
with:
go-version: ${{ matrix.go }}

- name: 'Test'
run: go list -f '{{.Dir}}/...' -m | xargs go test -race -cover

0 comments on commit 19f7652

Please sign in to comment.