Skip to content

GitHub actions

GitHub actions #1

Workflow file for this run

name: run-tests
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: true
max-parallel: 1
matrix:
go:
- "1.23"
- "1.22"
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install memcached
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Run tests
run: go test -v --count=1 .