Skip to content

Commit 7d1e6c5

Browse files
committed
ci: deprecate the build-axon workflow
due to PR #1446 and issue #1387
1 parent 49cdb7c commit 7d1e6c5

7 files changed

+20
-93
lines changed

.github/workflows/axon-start-with-short-genesis.yml

+20-16
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,8 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
# Build Axon and cache the binary
11-
build-axon:
12-
uses: ./.github/workflows/build.yml
13-
1410
# Start a single Axon node
1511
single-node:
16-
needs: build-axon
1712
strategy:
1813
matrix:
1914
# Supported GitHub-hosted runners and hardware resources
@@ -23,14 +18,19 @@ jobs:
2318
runs-on: ${{ matrix.os }}
2419
steps:
2520
- uses: actions/checkout@v4
26-
- name: Cache of the axon binary
27-
id: axon-bin-cache
21+
22+
- name: Cache of Cargo
2823
uses: actions/cache@v3
2924
with:
3025
path: |
31-
target/debug/axon
32-
target/release/axon
33-
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-axon-${{ github.sha }}
26+
~/.cargo/bin/
27+
~/.cargo/registry/index/
28+
~/.cargo/registry/cache/
29+
~/.cargo/git/db/
30+
target/
31+
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
32+
- name: Build Axon in the development profile
33+
run: cargo build
3434

3535
- name: Start a single Axon node
3636
env:
@@ -63,7 +63,6 @@ jobs:
6363
${{ runner.temp }}/${{ matrix.os }}-single-axon-node.log
6464
6565
multi-nodes:
66-
needs: build-axon
6766
strategy:
6867
matrix:
6968
# Supported GitHub-hosted runners and hardware resources
@@ -73,14 +72,19 @@ jobs:
7372
runs-on: ${{ matrix.os }}
7473
steps:
7574
- uses: actions/checkout@v4
76-
- name: Cache of the axon binary
77-
id: axon-bin-cache
75+
76+
- name: Cache of Cargo
7877
uses: actions/cache@v3
7978
with:
8079
path: |
81-
target/debug/axon
82-
target/release/axon
83-
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-axon-${{ github.sha }}
80+
~/.cargo/bin/
81+
~/.cargo/registry/index/
82+
~/.cargo/registry/cache/
83+
~/.cargo/git/db/
84+
target/
85+
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
86+
- name: Build Axon in the development profile
87+
run: cargo build
8488

8589
- name: Start multiple Axon nodes
8690
env:

.github/workflows/build.yml

-52
This file was deleted.

.github/workflows/openzeppelin_test_11.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ on:
1212
required: true
1313

1414
jobs:
15-
# Build Axon and cache the binary
16-
build-axon:
17-
uses: ./.github/workflows/build.yml
18-
1915
openzeppelin-contracts-1:
20-
needs: build-axon
2116
strategy:
2217
matrix:
2318
# Supported GitHub-hosted runners and hardware resources

.github/workflows/openzeppelin_test_16_19.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ on:
1212
required: true
1313

1414
jobs:
15-
# Build Axon and cache the binary
16-
build-axon:
17-
uses: ./.github/workflows/build.yml
18-
1915
openzeppelin-contracts-1:
20-
needs: build-axon
2116
strategy:
2217
matrix:
2318
# Supported GitHub-hosted runners and hardware resources

.github/workflows/openzeppelin_test_1_5_and_12_15.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ on:
1212
required: true
1313

1414
jobs:
15-
# Build Axon and cache the binary
16-
build-axon:
17-
uses: ./.github/workflows/build.yml
18-
1915
openzeppelin-contracts-1:
20-
needs: build-axon
2116
strategy:
2217
matrix:
2318
# Supported GitHub-hosted runners and hardware resources

.github/workflows/openzeppelin_test_6_10.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ on:
1212
required: true
1313

1414
jobs:
15-
# Build Axon and cache the binary
16-
build-axon:
17-
uses: ./.github/workflows/build.yml
18-
1915
openzeppelin-contracts-1:
20-
needs: build-axon
2116
strategy:
2217
matrix:
2318
# Supported GitHub-hosted runners and hardware resources

.github/workflows/v3_core_test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ on:
1212
required: true
1313

1414
jobs:
15-
# Build Axon and cache the binary
16-
build-axon:
17-
uses: ./.github/workflows/build.yml
18-
1915
v3-core-test:
20-
needs: build-axon
2116
strategy:
2217
matrix:
2318
# Supported GitHub-hosted runners and hardware resources

0 commit comments

Comments
 (0)