~ancarda/tls-redirector

f5ac0ac6746982b5d7d91aefb921a28ba32a11e7 — Mark Dain 11 months ago 8456b13
Run tests on Go 1.17
1 files changed, 24 insertions(+), 0 deletions(-)

A .builds/go1_17.yml
A .builds/go1_17.yml => .builds/go1_17.yml +24 -0
@@ 0,0 1,24 @@
---
image: debian/stable

sources:
  - https://git.sr.ht/~ancarda/tls-redirector

packages:
  - wget

environment:
  CGO_ENABLED: 0
  GO_VERSION: 1.17
  PATH: /usr/local/go/bin:/usr/sbin:/usr/bin:/sbin:/bin

tasks:
  - prepare: |
      wget https://golang.org/dl/go$GO_VERSION.linux-amd64.tar.gz
      sudo tar -C /usr/local -xzf go$GO_VERSION.linux-amd64.tar.gz
      go version
      go env

  - test: |
      cd tls-redirector
      go test -v -cover ./...