Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change action docker file with binary cuz fail of docker io limit #109

Merged
merged 1 commit into from
Nov 9, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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