Skip to content

Fix release issue with gpg missing #2409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/benchmarks-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.repository == 'frequency-chain/frequency'
name: Build Benchmark Binary
runs-on: ubicloud-standard-16
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
permissions:
contents: read
steps:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
name: Post Benchmark Tests
needs: run-benchmarks
runs-on: ubicloud-standard-16
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
permissions:
contents: read
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-migrations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: Check Migrations on Paseo
continue-on-error: false
runs-on: ubicloud-standard-8
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Checkout sources
uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
publish-js-api-augment-rc:
name: Merge - Publish JS API Augment Release Candidate
runs-on: ubicloud-standard-4
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
calc-code-coverage:
name: Merge - Calculate Code Coverage
runs-on: ubicloud-standard-30
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
needs: create-release-branch
name: Run All Benchmarks - Build
runs-on: ubicloud-standard-16
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
permissions:
contents: read
steps:
Expand Down Expand Up @@ -154,7 +154,7 @@ jobs:
needs: run-all-benchmarks-bench
name: Run All Benchmarks - Test
runs-on: ubicloud-standard-16
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -233,7 +233,7 @@ jobs:
- arch: arm64
runner: ubicloud-standard-16-arm
runs-on: ${{matrix.runner}}
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
env:
SIGNING_SUBKEY_FINGERPRINT: B6327D1474C6392032870E8EFA4FD1E73A0FE707
steps:
Expand Down Expand Up @@ -394,7 +394,7 @@ jobs:
needs: version-code
name: Build Rust Developer Docs
runs-on: ubicloud-standard-4
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
RELEASE_FILENAME_PREFIX: frequency-local
ARCH: amd64
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Set Env Vars
run: |
Expand Down Expand Up @@ -479,7 +479,7 @@ jobs:
build-js-schemas:
name: Build JS Schemas
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -721,7 +721,7 @@ jobs:
needs: wait-for-all-builds
name: Release Built Artifacts
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
permissions:
contents: write
steps:
Expand Down
25 changes: 13 additions & 12 deletions .github/workflows/verify-pr-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
arch: arm64
runner: ubicloud-standard-30-arm
runs-on: ${{matrix.runner}}
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
env:
NETWORK: mainnet
steps:
Expand All @@ -205,8 +205,9 @@ jobs:
# key: binaries-${{runner.os}}-${{env.NETWORK}}-${{github.head_ref}}
- name: Compile Binary for ${{matrix.network}} on ${{matrix.arch}}
if: steps.cache-binary.outputs.cache-hit != 'true'
# The various rust flags here are for faster builds, but are not exactly the same as release builds
run: |
CARGO_INCREMENTAL=0 RUSTFLAGS="-D warnings" cargo build --locked \
CARGO_INCREMENTAL=0 RUSTFLAGS="-D warnings -C debuginfo=0 -C opt-level=0 -C codegen-units=265" cargo build --locked \
${{ matrix.build-profile == 'release' && '--release' || '' }} \
--features ${{matrix.spec}}
- name: Run Sanity Checks
Expand All @@ -231,7 +232,7 @@ jobs:
if: needs.changes.outputs.cargo-lock == 'true'
name: Check for Vulnerable Crates
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -247,7 +248,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Code Format
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image-nightly:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image-nightly:1.5.6
steps:
- name: Check Out Repository
uses: actions/checkout@v4
Expand All @@ -261,7 +262,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Lint Rust Code
runs-on: ubicloud-standard-4
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -277,7 +278,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Developer Docs
runs-on: ubicloud-standard-4
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -290,7 +291,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Verify Rust Packages and Dependencies
runs-on: ubicloud-standard-4
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -302,7 +303,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Run Rust Tests
runs-on: ubicloud-standard-8
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand All @@ -317,7 +318,7 @@ jobs:
if: needs.changes.outputs.rust == 'true'
name: Calculate Code Coverage
runs-on: ubicloud-standard-30
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -430,7 +431,7 @@ jobs:
needs: build-binaries
name: Verify JS API Augment
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -489,7 +490,7 @@ jobs:
verify-js-schemas:
name: Verify JS Schemas
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
steps:
- name: Check Out Repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -656,7 +657,7 @@ jobs:
needs: build-binaries
name: Check Metadata and Spec Version
runs-on: ubuntu-24.04
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.5
container: ghcr.io/frequency-chain/frequency/ci-base-image:1.5.6
permissions:
pull-requests: write
steps:
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ large_enum_variant = "allow"
empty_line_after_outer_attr = "allow"
enum_variant_names = "allow"

# debug is profile.dev
# Defaults: https://doc.rust-lang.org/cargo/reference/profiles.html#default-profiles

[profile.release]
panic = "unwind"
lto = true
Expand Down