ci
This commit is contained in:
parent
1005a8f5d8
commit
dee59f4e76
@ -19,7 +19,7 @@ jobs:
|
|||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
check-latest: true
|
check-latest: true
|
||||||
- name: "Run DB container"
|
- name: "Run DB container"
|
||||||
run: compose -f test/compose.yml up --wait
|
run: docker compose -f test/compose.yml up --wait
|
||||||
- name: "Run tests"
|
- name: "Run tests"
|
||||||
run: go test -v ./...
|
run: go test -v ./...
|
||||||
|
|
||||||
@ -40,8 +40,8 @@ jobs:
|
|||||||
working-directory: ./plugeth-statediff
|
working-directory: ./plugeth-statediff
|
||||||
run: |
|
run: |
|
||||||
set -ex
|
set -ex
|
||||||
mkdir -p _dev/.ssh
|
|
||||||
[[ -n "${{ secrets.CI_SSH_PRIVATE_KEY }}" ]]
|
[[ -n "${{ secrets.CI_SSH_PRIVATE_KEY }}" ]]
|
||||||
|
mkdir -p _dev/.ssh
|
||||||
echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa
|
echo "${{ secrets.CI_SSH_PRIVATE_KEY }}" > _dev/.ssh/id_rsa
|
||||||
chmod 0600 _dev/.ssh/id_rsa
|
chmod 0600 _dev/.ssh/id_rsa
|
||||||
ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts
|
ssh-keyscan git.vdb.to >> _dev/.ssh/known_hosts
|
||||||
|
Loading…
Reference in New Issue
Block a user