Skip to content

Commit 547da7b

Browse files
authored
Move scripts from .github directory into cmd (#1787)
1 parent 214e4a3 commit 547da7b

File tree

7 files changed

+5
-5
lines changed

7 files changed

+5
-5
lines changed

.github/workflows/e2e-fork.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
with:
2121
go-version: 1.18
2222
- id: set-matrix
23-
run: echo "::set-output name=matrix::$(go run .github/scripts/build_test_matrix.go)"
23+
run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)"
2424

2525
e2e:
2626
env:

.github/workflows/e2e.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
with:
5252
go-version: 1.18
5353
- id: set-matrix
54-
run: echo "::set-output name=matrix::$(go run .github/scripts/build_test_matrix.go)"
54+
run: echo "::set-output name=matrix::$(go run cmd/build_test_matrix/main.go)"
5555

5656

5757
# the tag of the image will differ if this is a PR or the branch is being merged into main.
@@ -68,7 +68,7 @@ jobs:
6868
go-version: 1.18
6969
- id: get-tag
7070
run: |
71-
tag=$(go run .github/scripts/determine_simd_tag.go -pr "${{ github.event.pull_request.number }}" )
71+
tag=$(go run cmd/determine_simd_tag/main.go -pr "${{ github.event.pull_request.number }}" )
7272
echo "Using tag $tag"
7373
echo "::set-output name=simd-tag::$tag"
7474

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
steps:
5858
- uses: actions/checkout@v3
5959
- name: Create a file with all the pkgs
60-
run: go list ./... ./.github/scripts > pkgs.txt
60+
run: go list ./... > pkgs.txt
6161
- name: Split pkgs into 4 files
6262
run: split -d -n l/4 pkgs.txt pkgs.txt.part.
6363
# cache multiple

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ view-docs:
218218
test: test-unit
219219
test-all: test-unit test-ledger-mock test-race test-cover
220220

221-
TEST_PACKAGES=./... ./.github/scripts
221+
TEST_PACKAGES=./...
222222
TEST_TARGETS := test-unit test-unit-amino test-unit-proto test-ledger-mock test-race test-ledger test-race
223223

224224
# Test runs-specific rules. To add a new test target, just add

0 commit comments

Comments
 (0)