-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into transaction-ordering
Signed-off-by: Tal Derei <[email protected]>
- Loading branch information
Showing
369 changed files
with
24,218 additions
and
4,390 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
use flake |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -50,14 +50,14 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
location: us-central1 | ||
|
||
- name: install helmfile | ||
uses: mamezou-tech/setup-helmfile@v1.3.0 | ||
uses: mamezou-tech/setup-helmfile@v2.0.0 | ||
with: | ||
helmfile-version: "v0.157.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,14 +42,14 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
location: us-central1 | ||
|
||
- name: install helmfile | ||
uses: mamezou-tech/setup-helmfile@v1.3.0 | ||
uses: mamezou-tech/setup-helmfile@v2.0.0 | ||
with: | ||
helmfile-version: "v0.157.0" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,7 @@ jobs: | |
service_account: '[email protected]' | ||
|
||
- name: get gke credentials | ||
uses: google-github-actions/get-gke-credentials@v1 | ||
uses: google-github-actions/get-gke-credentials@v2 | ||
with: | ||
cluster_name: testnet | ||
project_id: penumbra-sl-testnet | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,9 +13,9 @@ jobs: | |
with: | ||
lfs: false | ||
|
||
- name: Install rust toolchain | ||
- name: Install nightly rust toolchain | ||
# The script for rustdoc build requires nightly toolchain. | ||
uses: dtolnay/rust-toolchain@nightly | ||
run: rustup toolchain install nightly | ||
|
||
# Loading cache takes ~15s, but saves us minutes of build. | ||
- name: Load rust cache | ||
|
@@ -36,9 +36,6 @@ jobs: | |
with: | ||
lfs: false | ||
|
||
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
|
||
- name: Load rust cache | ||
uses: astriaorg/[email protected] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Adds the `needs-refinement` label to newly opened issues. | ||
name: New issues need refinement | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
jobs: | ||
label_issues: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- run: gh issue edit "$NUMBER" --add-label "$LABELS" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GH_REPO: ${{ github.repository }} | ||
NUMBER: ${{ github.event.issue.number }} | ||
# Separate multiple labels with commas if other labels are ever | ||
# needed e.g., `needs-refinement,foo`. | ||
LABELS: needs-refinement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,20 +17,23 @@ jobs: | |
uses: actions/checkout@v4 | ||
with: | ||
lfs: true | ||
|
||
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
run: rustup toolchain install nightly | ||
|
||
- name: Load Rust caching | ||
uses: astriaorg/[email protected] | ||
- name: Load get-version action to grab version component of deployment path | ||
uses: battila7/get-version-action@v2 | ||
id: get_version | ||
|
||
# Previously we used a GHA helper to look up the version, which was overkill. | ||
# Let's still log the version of the docs we intend to build. | ||
- name: Print version component of deployment path | ||
run: echo ${{ steps.get_version.outputs.version }} | ||
run: echo ${{ github.event.inputs.image_tag || github.ref_name }} | ||
|
||
# Ostensibly building from source, but the cache-loading above | ||
# ensures we don't need to rebuild frequently. | ||
- name: Install mdbook dependencies | ||
run: cargo install mdbook mdbook-katex mdbook-mermaid mdbook-linkcheck | ||
# Make sure to install with `+nightly`, because that's the toolchain we'll use for building docs. | ||
run: cargo +nightly install mdbook mdbook-katex mdbook-mermaid mdbook-linkcheck | ||
|
||
- name: Build software guide | ||
run: cd docs/guide && mdbook build | ||
|
@@ -40,7 +43,7 @@ jobs: | |
cd docs/guide | ||
rm -rf firebase-tmp | ||
mkdir firebase-tmp | ||
mv book/html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv book/html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
tree firebase-tmp | ||
- name: Deploy software guide to firebase | ||
|
@@ -60,7 +63,7 @@ jobs: | |
cd docs/protocol | ||
rm -rf firebase-tmp | ||
mkdir firebase-tmp | ||
mv book/html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv book/html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
tree firebase-tmp | ||
- name: Deploy protocol spec to firebase | ||
|
@@ -79,9 +82,9 @@ jobs: | |
cd docs/rustdoc | ||
if [ -d "firebase-tmp" ]; then rm -rf firebase-tmp; fi | ||
mkdir firebase-tmp | ||
mv ../../target/doc firebase-tmp/${{ steps.get_version.outputs.version }} | ||
mv ../../target/doc firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
# Copy in the static index file | ||
cp index.html firebase-tmp/${{ steps.get_version.outputs.version }} | ||
cp index.html firebase-tmp/${{ github.event.inputs.image_tag || github.ref_name }} | ||
- name: Deploy API docs to firebase | ||
uses: w9jds/[email protected] | ||
|
Oops, something went wrong.