1
0
Fork 0
mirror of https://github.com/Luzifer/go-dhparam.git synced 2024-11-08 23:30:02 +00:00
go-dhparam/.github/workflows/test.yaml

37 lines
502 B
YAML
Raw Normal View History

---
name: test
on:
push:
jobs:
test:
strategy:
matrix:
version:
- '1.19-alpine'
- '1.20-alpine'
- alpine
defaults:
run:
shell: sh
container:
image: golang:${{ matrix.version }}
env:
CGO_ENABLED: 0
GOPATH: /go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: go test
run: |
apk --no-cache add openssl && \
go test -v -cover
...