Skip to content

Commit

Permalink
add start of GitHub Actions CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bradfitz committed Sep 4, 2023
1 parent 721ea2e commit 58072b7
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test
on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
go-version: [ '1.18', '1.21' ]

steps:
- name: install memcached
run: sudo apt-get install memcached
- uses: actions/checkout@v3
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Test
run: go test -v ./...

0 comments on commit 58072b7

Please sign in to comment.