-
Notifications
You must be signed in to change notification settings - Fork 106
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 merge/features_081223
# Conflicts: # Cargo.lock
- Loading branch information
Showing
9 changed files
with
35 additions
and
99 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -8,59 +8,17 @@ on: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
|
||
jobs: | ||
fetch_deps: | ||
name: Fetch cargo dependencies | ||
check-artifacts-size: | ||
runs-on: ubuntu-latest | ||
|
||
name: Check Artifacts Size | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.GOV_PRIVATE_KEY }} | ||
- uses: actions/cache@v3 | ||
if: always() | ||
with: | ||
path: | | ||
~/.cargo/bin | ||
~/.cargo/git/checkouts | ||
~/.cargo/git/db | ||
~/.cargo/registry/cache | ||
~/.cargo/registry/index | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-cargo- | ||
- run: | | ||
git config url."ssh://[email protected]/astroport-fi/hidden_astroport_governance.git".insteadOf "https://github.com/astroport-fi/hidden_astroport_governance" | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: 1.68.0 | ||
override: true | ||
|
||
- name: Fetch cargo deps | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fetch | ||
args: --locked | ||
|
||
check-artifacts-size: | ||
runs-on: ubuntu-latest | ||
name: Check Artifacts Size | ||
needs: fetch_deps | ||
steps: | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
|
||
|
@@ -73,8 +31,6 @@ jobs: | |
~/.cargo/registry/cache | ||
~/.cargo/registry/index | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
# docker can't pull private sources, so we fail if cache is missing | ||
fail-on-cache-miss: true | ||
|
||
- name: Build Artifacts | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -23,11 +23,6 @@ jobs: | |
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.GOV_PRIVATE_KEY }} | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
- uses: actions/cache@v3 | ||
|
@@ -40,8 +35,6 @@ jobs: | |
~/.cargo/registry/index | ||
target | ||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
- run: | | ||
git config url."ssh://[email protected]/astroport-fi/hidden_astroport_governance.git".insteadOf "https://github.com/astroport-fi/hidden_astroport_governance" | ||
|
||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
|
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
CARGO_NET_GIT_FETCH_WITH_CLI: true | ||
|
||
jobs: | ||
test_and_check: | ||
|
@@ -21,12 +20,8 @@ jobs: | |
with: | ||
access_token: ${{ github.token }} | ||
|
||
- uses: actions/checkout@v3 | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: | | ||
${{ secrets.GOV_PRIVATE_KEY }} | ||
- name: Checkout sources | ||
uses: actions/checkout@v3 | ||
- uses: actions/cache@v3 | ||
if: always() | ||
with: | ||
|
@@ -41,9 +36,6 @@ jobs: | |
restore-keys: | | ||
${{ runner.os }}-cargo- | ||
- run: | | ||
git config url."ssh://[email protected]/astroport-fi/hidden_astroport_governance.git".insteadOf "https://github.com/astroport-fi/hidden_astroport_governance" | ||
- name: Install stable toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
|
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
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