Skip to content

Commit

Permalink
change action docker file with binary cuz fail of docker io limit (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
ElecTwix authored Nov 9, 2023
1 parent 7ada8b5 commit d82fb90
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ jobs:
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Setup Go ${{ matrix.go-version }}
uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3
- name: Start SurrealDB
run: docker run -it -d --rm --name surrealdb -p 8000:8000 surrealdb/surrealdb:nightly start -u root -p root
- name: Test
check-latest: true
cache-dependency-path: go.sum
- name: download surrealdb
run: curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --nightly
- name: start surrealdb
run: surreal start memory -A --auth --user root --pass root &
- name: test
run: go test -v -cover ./...
env:
SURREALDB_URL: ws://localhost:8000/rpc
- name: Stop SurrealDB
run: docker stop -t 1 surrealdb

0 comments on commit d82fb90

Please sign in to comment.