From 024eba71b463c3f8c42cac18ec7f0df8cc45e835 Mon Sep 17 00:00:00 2001 From: "Sean P. Kelly" Date: Thu, 10 Oct 2024 17:05:00 +0000 Subject: [PATCH] ci: install golang in build and release actions --- .github/workflows/release.yml | 7 +++---- .github/workflows/rust.yml | 3 +++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 59ce9e45..6ae83d20 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -61,10 +61,9 @@ jobs: - uses: actions/checkout@v3 with: submodules: recursive - - name: Install crane for testing - uses: ./.github/actions/install-crane - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - uses: actions/setup-go@v5 + with: + go-version: "^1.18" - name: Install cargo-dist run: | cargo install --locked \ diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 279ab919..bcf054d1 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -21,4 +21,7 @@ jobs: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: cargo install cargo-deny --locked - run: cargo install cargo-make --locked + - uses: actions/setup-go@v5 + with: + go-version: "^1.18" - run: make build