diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 4de0076..433e637 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -5,6 +5,8 @@ on: branches: - master - main + tags: + - "v*.*.*" pull_request: branches: - master @@ -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 }} diff --git a/.github/workflows/cc.yml b/.github/workflows/cc.yml index e9e3aee..cf7c23e 100644 --- a/.github/workflows/cc.yml +++ b/.github/workflows/cc.yml @@ -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 diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index 9bcf1ab..e316547 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -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 diff --git a/Makefile.toml b/Makefile.toml index 591d667..b180a8a 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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] @@ -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}"