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