X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=.github%2Fworkflows%2Fbuild.yml;fp=.github%2Fworkflows%2Fbuild.yml;h=3b9e46ac51a476b98e245aa77540be453b69e010;hb=ed08c8be205d540a2dac025587c14c106d5d8d5f;hp=acde23e5cba5d1f985f0acff3c630e7a9af5404a;hpb=30a9cb780d2dbecfb22e8209e10e60e371f48310;p=ldk-sample diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index acde23e..3b9e46a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,13 +19,11 @@ jobs: runs-on: ${{ matrix.platform }} steps: - name: Checkout source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Install Rust ${{ matrix.toolchain }} toolchain - uses: actions-rs/toolchain@v1 - with: - toolchain: ${{ matrix.toolchain }} - override: true - profile: minimal + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal --default-toolchain ${{ matrix.toolchain }} + rustup override set ${{ matrix.toolchain }} - name: Build on Rust ${{ matrix.toolchain }} run: cargo build --verbose --color always - name: Check formatting