summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoe Birr-Pixton <jpixton@gmail.com>2024-04-24 19:50:07 +0100
committerJoe Birr-Pixton <jpixton@gmail.com>2024-04-24 19:19:17 +0000
commit7b936042cc936bea5defcfc3fdec6d05b692a996 (patch)
tree07ea3f5116604c1ed73cf3b20ff1849ba4b59ef3 /.github
parentf57d4b79549ac97a77b52d7dd5189477c72eb20f (diff)
Install golang on macos runners
The macos-latest runner no longer comes with golang preinstalled. Note that the fips build is not technically certified on macos, but it is still nonetheless useful to defend the ability to do `cargo test --all-features` on developer laptops.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index c42b4910..a35b7025 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -56,6 +56,12 @@ jobs:
if: runner.os == 'Windows'
uses: seanmiddleditch/gha-setup-ninja@v4
+ - name: Install golang for aws-lc-fips-sys on macos
+ if: runner.os == 'MacOS'
+ uses: actions/setup-go@v5
+ with:
+ go-version: "1.22.2"
+
- name: cargo build (debug; default features)
run: cargo build --locked