forwardproxy/.github/workflows/tests.yml
Juan Calderon-Perez 2f2742b226
Bump github-actions
2024-01-09 00:13:10 -05:00

34 lines
625 B
YAML

name: "Tests"
on:
push:
branches:
- "master"
- "main"
paths-ignore:
- "**.md"
pull_request:
branches:
- "*"
paths-ignore:
- "**.md"
jobs:
Tests:
strategy:
matrix:
go-version:
- oldstable
- stable
platform:
- ubuntu-latest
runs-on: ${{ matrix.platform }}
steps:
- name: Fetch Repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '${{ matrix.go-version }}'
- name: Run test
run: go test -v -race ./...