diff --git a/.github/workflows/ci-go-unit-tests.yaml b/.github/workflows/ci-go-unit-tests.yaml index 36235384..31878ab2 100644 --- a/.github/workflows/ci-go-unit-tests.yaml +++ b/.github/workflows/ci-go-unit-tests.yaml @@ -39,22 +39,5 @@ jobs: go-version: 1.25.0 cache-dependency-path: go.sum - - name: Set up Dgraph - if: matrix.os == 'linux' - run: | - docker run -d --name dgraph-standalone -p 9080:9080 -p 8080:8080 dgraph/standalone:latest - echo "Waiting for Dgraph to be ready..." - for i in {1..30}; do - if curl -s http://localhost:8080/health > /dev/null; then - echo "Dgraph is ready!" - break - fi - echo "Attempt $i: Dgraph not ready, waiting..." - sleep 2 - done - sleep 5 - - name: Run Unit Tests - env: - MODUSGRAPH_TEST_ADDR: ${{ matrix.os == 'linux' && 'localhost:9080' || '' }} run: go test -short -race -v . diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 8f22d46b..445cc8d9 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -23,7 +23,7 @@ runtimes: # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: enabled: - - trivy@0.59.1 + - trivy@0.69.3 - taplo@0.9.3 - actionlint@1.7.7 - checkov@3.2.365