From 392d709020a8751767f3a9c1cd01839c557f2f09 Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Tue, 2 Jan 2024 13:08:59 -0800 Subject: [PATCH] Drone Update --- .drone.yml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 75f1322..2cbf468 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: linux-test steps: - name: fetch - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go @@ -14,47 +14,45 @@ steps: - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/tor - wget https://git.openprivacy.ca/openprivacy/buildfiles/raw/master/tor/torrc - chmod a+x tor - - go get -u golang.org/x/lint/golint - export GO111MODULE=on - - go mod vendor - name: quality - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - staticcheck ./... - name: units-tests - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - sh testing/tests.sh - name: integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=30m -race -v cwtch.im/cwtch/testing/ - name: filesharing-integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=20m -race -v cwtch.im/cwtch/testing/filesharing - name: filesharing-autodownload-integ-test - image: golang:1.19.1 + image: golang:1.21.5 volumes: - name: deps path: /go commands: - - export PATH=`pwd`:$PATH + - export PATH=$PWD:$PATH - go test -timeout=20m -race -v cwtch.im/cwtch/testing/autodownload - name: notify-gogs image: openpriv/drone-gogs