Skip to content

Commit

Permalink
ci: update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
apollo-sturdy committed Mar 7, 2024
1 parent 52baaf0 commit a48c257
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- master
- main
tags:
- "v*.*.*"
pull_request:
branches:
- master
Expand Down Expand Up @@ -33,3 +35,10 @@ jobs:
with:
name: artifacts
path: artifacts/

- name: Add artifacts to release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: artifacts/*
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/cc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
uses: actions/checkout@v3

- name: Check all commit messages for adherence
uses: bilalshaikh42/action-conventional-commits@v2.0.1
uses: webiny/action-conventional-commits@v1.3.0
3 changes: 3 additions & 0 deletions .github/workflows/lint-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Install nightly toolchain
run: cargo make install-nightly

- name: Install stable toolchain
run: cargo make install-stable

- name: Run cargo clippy
run: cargo make clippy-check

Expand Down
6 changes: 3 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ skip_core_tasks = true

[env]
# If you bump this version, verify RUST_VERSION correctness
RUST_OPTIMIZER_VERSION = "0.15.1"
RUST_OPTIMIZER_VERSION = "0.15.0"
# Use rust version from rust-optimizer Dockerfile (see https://github.com/CosmWasm/rust-optimizer/blob/main/Dockerfile#L1)
# to be sure that we compile / test against the same version
RUST_VERSION = "1.75.0"
RUST_VERSION = "1.72.0"
NIGHTLY_VERSION = "nightly-2023-08-29"

[tasks.install-stable]
Expand Down Expand Up @@ -61,7 +61,7 @@ args = ["deny", "check"]
[tasks.check]
toolchain = "${RUST_VERSION}"
command = "cargo"
args = ["check"]
args = ["check", "--features", "astroport,osmosis"]

[tasks.clippy-check]
toolchain = "${NIGHTLY_VERSION}"
Expand Down

0 comments on commit a48c257

Please sign in to comment.