1
0
Fork 0
mirror of https://github.com/Luzifer/go-dhparam.git synced 2024-11-12 17:12:41 +00:00
go-dhparam/.github/workflows/test.yaml
2024-09-20 10:11:26 +02:00

39 lines
553 B
YAML

---
name: test
on:
push:
jobs:
test:
strategy:
matrix:
version:
- '1.22-alpine'
- '1.23-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@v4
- name: install required packages
run: |
apk --no-cache add openssl
- name: go test
run: |
go test -v -cover
...