summaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r--.github/workflows/macos.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml
index 61a3654..a7e566e 100644
--- a/.github/workflows/macos.yml
+++ b/.github/workflows/macos.yml
@@ -18,12 +18,15 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Install Rust
- run: curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
+ uses: actions-rs/toolchain@v1
+ with:
+ profile: minimal
+ toolchain: nightly
+ override: true
- name: Build and test
run: |
export OPENSSL_INCLUDE_DIR=`brew --prefix openssl`/include
export OPENSSL_LIB_DIR=`brew --prefix openssl`/lib
- source $HOME/.cargo/env
rustc -V
cargo -V
cargo build