From f4432389b49d79e14b30715de4e50f6da763443f Mon Sep 17 00:00:00 2001 From: Paul Hewlett Date: Wed, 10 Jan 2024 10:03:54 +0000 Subject: [PATCH] fixup! Fix branch protections --- .github/workflows/ci.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f2f4017..6fe361a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,18 +11,20 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup go-task - run: | - sh -c "$(curl --location https://taskfile.dev/install.sh)" -- -d - echo "${PWD}/bin" >> $GITHUB_PATH + uses: arduino/setup-task@v1 + with: + version: 3.x + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup Go uses: actions/setup-go@v4 with: go-version: '1.21.x' + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Setup protobuf uses: arduino/setup-protoc@v2 with: version: "24.3" - + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Generate, Test and Export run: | # Note: it is by design that we don't use the builder @@ -58,4 +60,4 @@ jobs: gh release upload $TAG swagger.tar.gz tar -czf go-datatrails-common-api-gen.tar.gz go-datatrails-common-api-gen - gh release upload $TAG go-datatrails-common-api-gen.tar.gz \ No newline at end of file + gh release upload $TAG go-datatrails-common-api-gen.tar.gz