Skip to content

Commit

Permalink
Merge pull request #11 from dozen/github-actions-ci
Browse files Browse the repository at this point in the history
CI: GitHub actions
  • Loading branch information
dozen authored Dec 9, 2023
2 parents 7d65b0f + 3279132 commit 3690e10
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .circleci/config.yml

This file was deleted.

26 changes: 26 additions & 0 deletions .github/workflows/githuv-acitons-demo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Go

on: [push]

jobs:
test:
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 }}

- name: Install dependencies
run: go get .

- name: test
run: go test -v

- name: test race
run: go test -v -race

0 comments on commit 3690e10

Please sign in to comment.