Skip to content

Commit 1964396

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/cmd/crates/soroban-spec-typescript/ts-tests/npm_and_yarn-4265e88a4c
2 parents 0f12e5b + a64925e commit 1964396

154 files changed

Lines changed: 3899 additions & 1268 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/binaries.yml

Lines changed: 30 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
target: aarch64-unknown-linux-gnu
3636
runs-on: ${{ matrix.sys.os }}
3737
steps:
38-
- uses: actions/checkout@v5
38+
- uses: actions/checkout@v6
3939
- uses: ./.github/actions/build-binary
4040
with:
4141
target: ${{ matrix.sys.target }}
@@ -59,7 +59,7 @@ jobs:
5959
target: x86_64-apple-darwin
6060
runs-on: ${{ matrix.sys.os }}
6161
steps:
62-
- uses: actions/checkout@v5
62+
- uses: actions/checkout@v6
6363
- uses: ./.github/actions/build-binary
6464
with:
6565
target: ${{ matrix.sys.target }}
@@ -82,7 +82,7 @@ jobs:
8282
ext: .exe
8383
runs-on: ${{ matrix.sys.os }}
8484
steps:
85-
- uses: actions/checkout@v5
85+
- uses: actions/checkout@v6
8686
- uses: ./.github/actions/build-binary
8787
with:
8888
target: ${{ matrix.sys.target }}
@@ -94,7 +94,7 @@ jobs:
9494
needs: [build, build-macos, build-windows]
9595
runs-on: windows-latest
9696
steps:
97-
- uses: actions/checkout@v5
97+
- uses: actions/checkout@v6
9898

9999
- name: Setup vars
100100
run: |
@@ -104,25 +104,50 @@ jobs:
104104
echo "STELLAR_CLI_INSTALLER_BASENAME=${installer_basename}" >> $GITHUB_ENV
105105
echo "STELLAR_CLI_INSTALLER=${installer_basename}.exe" >> $GITHUB_ENV
106106
echo "ARTIFACT_NAME=stellar-cli-${version}-x86_64-pc-windows-msvc.tar.gz" >> $GITHUB_ENV
107+
echo "SM_CLIENT_CERT_FILE=D:\\sm_client_cert.p12" >> "$GITHUB_ENV"
107108
108109
- name: Download Artifact
109-
uses: actions/download-artifact@v5
110+
uses: actions/download-artifact@v7
110111
with:
111112
name: ${{ env.ARTIFACT_NAME }}
113+
112114
- name: Uncompress Artifact
113115
run: tar xvf ${{ env.ARTIFACT_NAME }}
116+
114117
- shell: powershell
115118
run: winget install --id JRSoftware.InnoSetup --scope machine --silent --accept-package-agreements --accept-source-agreements --force
119+
116120
- shell: powershell
117121
run: |
118122
$innoPath = "C:\Program Files (x86)\Inno Setup 6"
119123
echo $innoPath | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
124+
120125
- name: Build Installer
121126
shell: powershell
122127
run: |
123128
$Env:STELLAR_CLI_VERSION = "${{ env.VERSION }}"
124129
ISCC.exe installer.iss
125130
mv Output/stellar-installer.exe ${{ env.STELLAR_CLI_INSTALLER }}
131+
132+
- name: Setup SM_CLIENT_CERT_FILE
133+
run: |
134+
echo "${{ secrets.SM_CLIENT_CERT_FILE_B64 }}" | base64 --decode > /d/sm_client_cert.p12
135+
shell: bash
136+
137+
- name: Setup Software Trust Manager
138+
env:
139+
SM_HOST: https://clientauth.one.digicert.com
140+
SM_API_KEY: ${{ secrets.SM_API_KEY }}
141+
SM_CLIENT_CERT_PASSWORD: ${{ secrets.SM_CLIENT_CERT_PASSWORD }}
142+
if:
143+
github.event_name == 'release' || startsWith(github.ref, 'refs/heads/release/') || startsWith(github.head_ref, 'release/')
144+
id: stm-setup
145+
uses: digicert/code-signing-software-trust-action@v1.0.1
146+
with:
147+
simple-signing-mode: true
148+
keypair-alias: key_1412258126
149+
input: ${{ env.STELLAR_CLI_INSTALLER }}
150+
126151
- name: Upload Artifact
127152
uses: ./.github/actions/artifact-upload
128153
with:

.github/workflows/bindings-ts.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ jobs:
2727
- uses: stellar/quickstart@main
2828
with:
2929
tag: testing
30-
- uses: actions/setup-node@v5
30+
- uses: actions/setup-node@v6
3131
with:
3232
node-version: "20.x"
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@v6
3434
- uses: stellar/actions/rust-cache@main
3535
- run: rustup update
3636
- name: install optional dependencies (Linux only)

.github/workflows/ledger-emulator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
CI_TESTS: true
3535
TEST_THREADS: ${{ contains(matrix.sys, 'macos') && '--test-threads=1' || '' }} # macOS has limited resources, so we run tests (that rely on `testcontainers`) with 1 thread
3636
steps:
37-
- uses: actions/checkout@v5
37+
- uses: actions/checkout@v6
3838

3939
- uses: stellar/actions/rust-cache@main
4040

.github/workflows/rpc-tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ jobs:
3434
- uses: stellar/quickstart@main
3535
with:
3636
tag: future
37-
enable: core,rpc
38-
- uses: actions/checkout@v5
37+
- uses: actions/checkout@v6
3938
- uses: stellar/actions/rust-cache@main
4039
- run: rustup update
4140
- run:

.github/workflows/rust.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
build-and-test-windows,
3939
publish-dry-run,
4040
]
41-
runs-on: ubuntu-latest
41+
runs-on: ubuntu-slim
4242
steps:
4343
- if: contains(needs.*.result, 'failure') || contains(needs.*.result, 'cancelled')
4444
run: exit 1
@@ -51,15 +51,15 @@ jobs:
5151
check: [advisories, bans, licenses, sources]
5252
continue-on-error: ${{ matrix.check == 'advisories' }}
5353
steps:
54-
- uses: actions/checkout@v5
55-
- uses: EmbarkStudios/cargo-deny-action@f2ba7abc2abebaf185c833c3961145a3c275caad
54+
- uses: actions/checkout@v6
55+
- uses: EmbarkStudios/cargo-deny-action@3fd3802e88374d3fe9159b834c7714ec57d6c979
5656
with:
5757
command: check ${{ matrix.check }}
5858

5959
check:
6060
runs-on: ubuntu-latest-8-cores
6161
steps:
62-
- uses: actions/checkout@v5
62+
- uses: actions/checkout@v6
6363
- uses: stellar/actions/rust-cache@main
6464
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev
6565
- run: rustup update
@@ -79,7 +79,7 @@ jobs:
7979
target: aarch64-unknown-linux-gnu
8080
runs-on: ${{ matrix.sys.os }}
8181
steps:
82-
- uses: actions/checkout@v5
82+
- uses: actions/checkout@v6
8383
- uses: ./.github/actions/build-and-test
8484
with:
8585
target: ${{ matrix.sys.target }}
@@ -98,7 +98,7 @@ jobs:
9898
target: aarch64-apple-darwin
9999
runs-on: ${{ matrix.sys.os }}
100100
steps:
101-
- uses: actions/checkout@v5
101+
- uses: actions/checkout@v6
102102
- uses: ./.github/actions/build-and-test
103103
with:
104104
target: ${{ matrix.sys.target }}
@@ -115,7 +115,7 @@ jobs:
115115
target: x86_64-pc-windows-msvc
116116
runs-on: ${{ matrix.sys.os }}
117117
steps:
118-
- uses: actions/checkout@v5
118+
- uses: actions/checkout@v6
119119
- uses: ./.github/actions/build-and-test
120120
with:
121121
target: ${{ matrix.sys.target }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ test_snapshots
1010
local.sh
1111
.stellar
1212
.zed
13+
node_modules/
14+
.DS_Store

0 commit comments

Comments
 (0)