Skip to content

Commit

Permalink
feat: bump toolchain for GHA from nightly-2021-11-20 to nightly-2022-…
Browse files Browse the repository at this point in the history
…05-01 (#4308)

Description
Update all GHAs with env.toolchain and bump from nightly-2021-11-20 to nightly-2022-05-01

Motivation and Context
Fix broken builds for newer modules

How Has This Been Tested?
Build in local fork for binary builds only
  • Loading branch information
leet4tari authored Jul 18, 2022
1 parent fe5954d commit dbdadcf
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Runs daily
---
name: Security audit
on:
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/auto_labels.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
on:
workflow_run:
workflows:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/base_node_binaries.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Build Matrix of Binaries

on:
Expand All @@ -18,6 +19,7 @@ on:
env:
TBN_FILENAME: "tari_suite"
TBN_BUNDLEID_BASE: "com.tarilabs.pkg"
toolchain: nightly-2022-05-01

jobs:
builds:
Expand Down Expand Up @@ -63,7 +65,7 @@ jobs:
- name: Setup Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-05-01
toolchain: ${{ env.toolchain }}
components: rustfmt
override: true

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
on:
push:
branches:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
name: Source Coverage
on:
push:
branches:
- development

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01

jobs:
coverage:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/development-ci.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
on:
push:
branches:
Expand All @@ -7,7 +8,7 @@ on:
name: Development CI

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always
PROTOC: protoc
Expand Down Expand Up @@ -41,4 +42,3 @@ jobs:
run: |
cd applications/tari_web_extension_example
npm audit
2 changes: 1 addition & 1 deletion .github/workflows/launchpad_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: "development"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01
CARGO_HTTP_MULTIPLEXING: false
CARGO_TERM_COLOR: always

Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/libwallet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Build a new set of libraries when a new tag containing 'libwallet' is pushed
---
name: Build libwallet

on:
Expand All @@ -11,6 +12,9 @@ on:
- cron: "05 00 * * *"
workflow_dispatch:

env:
toolchain: nightly-2022-05-01

jobs:
android:
runs-on: ubuntu-latest
Expand All @@ -19,7 +23,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-05-01
toolchain: ${{ env.toolchain }}
override: true
- name: Install cross
run: |
Expand Down Expand Up @@ -66,13 +70,13 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-05-01
toolchain: ${{ env.toolchain }}
target: aarch64-apple-ios
components: rustfmt
override: true
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly-2022-05-01
toolchain: ${{ env.toolchain }}
target: x86_64-apple-ios
components: rustfmt
override: true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/long_running.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Runs weekly (saturday noon)
---
name: Long running integration tests
on:
schedule:
- cron: "0 12 * * 6"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01

jobs:
long-running:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/non_critical_integration_tests.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# Runs daily (2am)
---
name: Non critical integration tests
on:
schedule:
- cron: "0 2 * * *"

env:
toolchain: nightly-2021-11-20
toolchain: nightly-2022-05-01

jobs:
non-critical:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: PR
on:
pull_request:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rfc_deploy.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
on:
push:
branches:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rfc_test.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
on:
push:
branches:
Expand Down

0 comments on commit dbdadcf

Please sign in to comment.