From e2b6e01b277c4add44a3cf48d931c84b239bbcfa Mon Sep 17 00:00:00 2001 From: Marius Orcsik Date: Sun, 30 Oct 2022 10:15:45 +0100 Subject: [PATCH] Remove coverage push to codecov, as we no longer have access to secrets --- .build.yml | 9 --------- go.mod | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.build.yml b/.build.yml index 6839cc5..c5e57f1 100644 --- a/.build.yml +++ b/.build.yml @@ -1,6 +1,4 @@ image: archlinux -secrets: -- 72c9ab0b-ed5f-4291-bab7-30b361be94a6 packages: - go sources: @@ -15,10 +13,3 @@ tasks: - coverage: | set -a +x cd activitypub && make coverage - GIT_SHA=$(git rev-parse --verify HEAD) - GIT_BRANCH=$(git name-rev --name-only HEAD) - source ~/.code-cov.sh - curl -X POST \ - --data-binary @activitypub.coverprofile \ - -H 'Accept: application/json' \ - "https://codecov.io/upload/v2?commit=${GIT_SHA}&token=${PUB_TOKEN}&branch=${GIT_BRANCH}&service=custom" || true diff --git a/go.mod b/go.mod index 5522047..6ae05ec 100644 --- a/go.mod +++ b/go.mod @@ -5,6 +5,6 @@ go 1.18 require ( git.sr.ht/~mariusor/go-xsd-duration v0.0.0-20220703122237-02e73435a078 github.com/go-ap/errors v0.0.0-20220917143055-4283ea5dae18 - github.com/go-ap/jsonld v0.0.0-20220917142617-76bf51585778 + github.com/go-ap/jsonld v0.0.0-20221030091449-f2a191312c73 github.com/valyala/fastjson v1.6.3 )