Skip to content

Commit

Permalink
ci: Add tests and benchmarks to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
thessem committed Aug 22, 2024
1 parent f7c8eb6 commit c1f8bc2
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Go Test

on:
pull_request:
branches:
- github-actions/main

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.21", "1.22", "1.23"]
steps:
- uses: actions/checkout@v4
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: make test
- name: Benchmark
run: make bench

0 comments on commit c1f8bc2

Please sign in to comment.