1
0
mirror of https://github.com/Luzifer/go-dhparam.git synced 2024-09-19 00:22:58 +00:00
go-dhparam/.github/workflows/test.yaml
Knut Ahlers a984299b4e
Add Github Actions for testing
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2023-02-10 17:00:08 +01:00

37 lines
502 B
YAML

---
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
...