mirror of
https://github.com/SphericalKat/medium.rip.git
synced 2024-09-28 16:25:58 +00:00
23 lines
438 B
YAML
23 lines
438 B
YAML
name: Run tests
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
name: Run tests
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
go-version: [ '1.18', '1.19', '1.20' ]
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up Go
|
|
uses: actions/setup-go@v4
|
|
with:
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
- name: Build
|
|
run: go build .
|
|
|
|
- name: Test
|
|
run: go test ./... |