Skip to content

Commit

Permalink
downgraded rust version: cosmwasm-std 1.5.2 is incompatible with rust…
Browse files Browse the repository at this point in the history
… 1.78+
  • Loading branch information
swelf19 committed Nov 12, 2024
1 parent 82da2c9 commit 7be8d9d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
inputs:
toolchain:
description: 'Default Rust Toolchain'
default: "1.78.0"
default: "1.75.0"
required: true
type: string
target:
Expand All @@ -31,7 +31,7 @@ on:
type: string

env:
TOOLCHAIN: ${{ inputs.toolchain || '1.78.0' }}
TOOLCHAIN: ${{ inputs.toolchain || '1.75.0' }}
TARGET: ${{ inputs.target || 'wasm32-unknown-unknown' }}
REF: ${{ github.event_name == 'push' && github.ref || inputs.branch || 'main' }}
ID: ${{ inputs.id || 'scheduled' }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.75.0
components: clippy
profile: minimal
override: true
Expand All @@ -31,7 +31,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.75.0
components: rustfmt
profile: minimal
override: true
Expand All @@ -49,7 +49,7 @@ jobs:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.78.0
toolchain: 1.75.0
profile: minimal
- run: cargo fetch --verbose
- run: cargo build
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ compile:
--mount type=volume,source="$(notdir $(CURDIR))_cache",target=/target \
--mount type=volume,source=registry_cache,target=/usr/local/cargo/registry \
--platform linux/amd64 \
cosmwasm/workspace-optimizer:0.16.0
cosmwasm/workspace-optimizer:0.15.1

build: schema clippy fmt test compile check_contracts
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.78.0"
channel = "1.75.0"

0 comments on commit 7be8d9d

Please sign in to comment.