Skip to content

Commit

Permalink
fix: pin rustc 1.58.2 (#323)
Browse files Browse the repository at this point in the history
Co-authored-by: Milap Sheth <milap@axelar.network>
Co-authored-by: RiceAndmeet <jun.ying.yan@ryerson.ca>
  • Loading branch information
3 people authored May 30, 2024
1 parent 0646a37 commit 680ea7f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 22 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ on:

jobs:
format:
strategy:
matrix:
os:
# - ubuntu-18.04
- macos-10.15
runs-on: ${{ matrix.os }}
runs-on: macos-13
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand All @@ -25,7 +20,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.58.1
override: true
components: rustfmt, clippy

Expand Down
9 changes: 2 additions & 7 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ on:

jobs:
lint:
strategy:
matrix:
os:
# - ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
runs-on: macos-13
steps:
- name: Checkout code and submodule
uses: actions/checkout@v2
Expand All @@ -25,7 +20,7 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.58.1
override: true
components: rustfmt, clippy

Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ on:

jobs:
test:
strategy:
matrix:
os:
# - ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
runs-on: macos-13
steps:
- name: Checkout code and submodule
uses: actions/checkout@v2
Expand All @@ -25,8 +20,9 @@ jobs:
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
toolchain: 1.58.1
override: true
components: rustfmt, clippy

- name: Run cargo test
run: cargo test --release --all-features
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:experimental

FROM rust:latest as builder
FROM rust:1.58.1-bullseye as builder

RUN set -ex \
&& apt-get update \
Expand Down

0 comments on commit 680ea7f

Please sign in to comment.