Skip to content

Commit

Permalink
feat: support subnet_info (#532)
Browse files Browse the repository at this point in the history
* feat: support subnet_info

* changelog

* use ubuntu-24.04 in CI

* clippy

* fix(e2e): create canister requires more cycles

* rust 1.78.0
  • Loading branch information
lwshang authored Dec 4, 2024
1 parent 8f57d6d commit b3090c3
Show file tree
Hide file tree
Showing 17 changed files with 1,084 additions and 612 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
build:
name: cargo build
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-13-large]
os: [ubuntu-24.04, macos-13-large]
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:

fmt:
name: cargo fmt
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -94,7 +94,7 @@ jobs:
clippy:
name: cargo clippy
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -117,7 +117,7 @@ jobs:
doc:
name: cargo doc
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -142,7 +142,7 @@ jobs:
name: ci:required
if: ${{ always() }}
needs: [build, test, fmt, clippy, doc]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: check build result
if: ${{ needs.build.result != 'success' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ concurrency:
jobs:
check:
name: conventional-pr-title:required
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
# Conventional commit patterns:
# verb: description
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:

jobs:
build-candid-extractor:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
path: target/release/candid-extractor

test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
needs: build-candid-extractor
strategy:
fail-fast: false
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
name: examples:required
if: ${{ always() }}
needs: test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Check step result directly
if: ${{ needs.test.result != 'success' }}
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/release-candid-extractor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
fail-fast: false
matrix:
include:
# The indirect dependency `zstd-safe` (introduced by `wasmtime`) needs higher version of GLIBC.
# using ubuntu-20.04 will fail to compile
- os: ubuntu-22.04
- os: ubuntu-24.04
binstall_pkg: candid-extractor-x86_64-unknown-linux-gnu.tar.gz
- os: macos-12
binstall_pkg: candid-extractor-x86_64-apple-darwin.tar.gz
Expand Down
Loading

0 comments on commit b3090c3

Please sign in to comment.