Skip to content

Commit

Permalink
ci: deprecate the build-axon workflow
Browse files Browse the repository at this point in the history
due to PR #1446 and issue #1387
  • Loading branch information
Flouse committed Sep 22, 2023
1 parent 49cdb7c commit 7d1e6c5
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 93 deletions.
36 changes: 20 additions & 16 deletions .github/workflows/axon-start-with-short-genesis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,8 @@ on:
workflow_dispatch:

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

# Start a single Axon node
single-node:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand All @@ -23,14 +18,19 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Cache of the axon binary
id: axon-bin-cache

- name: Cache of Cargo
uses: actions/cache@v3
with:
path: |
target/debug/axon
target/release/axon
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-axon-${{ github.sha }}
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build Axon in the development profile
run: cargo build

- name: Start a single Axon node
env:
Expand Down Expand Up @@ -63,7 +63,6 @@ jobs:
${{ runner.temp }}/${{ matrix.os }}-single-axon-node.log
multi-nodes:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand All @@ -73,14 +72,19 @@ jobs:
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Cache of the axon binary
id: axon-bin-cache

- name: Cache of Cargo
uses: actions/cache@v3
with:
path: |
target/debug/axon
target/release/axon
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-axon-${{ github.sha }}
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.os }}-${{ runner.os }}-${{ runner.arch }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build Axon in the development profile
run: cargo build

- name: Start multiple Axon nodes
env:
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/build.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/workflows/openzeppelin_test_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ on:
required: true

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

openzeppelin-contracts-1:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/openzeppelin_test_16_19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ on:
required: true

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

openzeppelin-contracts-1:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/openzeppelin_test_1_5_and_12_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ on:
required: true

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

openzeppelin-contracts-1:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/openzeppelin_test_6_10.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ on:
required: true

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

openzeppelin-contracts-1:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand Down
5 changes: 0 additions & 5 deletions .github/workflows/v3_core_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,7 @@ on:
required: true

jobs:
# Build Axon and cache the binary
build-axon:
uses: ./.github/workflows/build.yml

v3-core-test:
needs: build-axon
strategy:
matrix:
# Supported GitHub-hosted runners and hardware resources
Expand Down

0 comments on commit 7d1e6c5

Please sign in to comment.