diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index dacb3c889..c024f6a91 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -29,8 +29,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -52,8 +51,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} diff --git a/.github/workflows/server-dynamodb.yml b/.github/workflows/server-dynamodb.yml index 2554c1661..64d0c179b 100644 --- a/.github/workflows/server-dynamodb.yml +++ b/.github/workflows/server-dynamodb.yml @@ -44,8 +44,7 @@ jobs: use_dynamodb: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.3.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@5adb11fd6953e1bc35d9cf1fc1b4374c464e3a8b + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/server-redis.yml b/.github/workflows/server-redis.yml index 113934023..0a80bdb26 100644 --- a/.github/workflows/server-redis.yml +++ b/.github/workflows/server-redis.yml @@ -42,8 +42,7 @@ jobs: use_redis: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.3.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@5adb11fd6953e1bc35d9cf1fc1b4374c464e3a8b + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 1b79cc26f..2817eb737 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -29,8 +29,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -50,8 +49,7 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} @@ -76,8 +74,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: # Inform the test harness of test service's port. test_service_port: ${{ env.TEST_SERVICE_PORT }} @@ -98,8 +95,7 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/sse.yml b/.github/workflows/sse.yml index a7c318cda..a53171df8 100644 --- a/.github/workflows/sse.yml +++ b/.github/workflows/sse.yml @@ -45,13 +45,14 @@ jobs: run_tests: false - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: repo: 'sse-contract-tests' branch: 'main' test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} + # The SSE test harness doesn't support persistence tests. + enable_persistence_tests: false contract-tests-curl: runs-on: ubuntu-22.04 @@ -69,10 +70,11 @@ jobs: use_curl: true - name: 'Launch test service as background task' run: $TEST_SERVICE_BINARY $TEST_SERVICE_PORT 2>&1 & - # https://github.com/launchdarkly/gh-actions/releases/tag/contract-tests-v1.1.0 - - uses: launchdarkly/gh-actions/actions/contract-tests@2715574e04448246bc529a23a81766491bbc4aae + - uses: launchdarkly/gh-actions/actions/contract-tests@contract-tests-v1 with: repo: 'sse-contract-tests' branch: 'main' test_service_port: ${{ env.TEST_SERVICE_PORT }} token: ${{ secrets.GITHUB_TOKEN }} + # The SSE test harness doesn't support persistence tests. + enable_persistence_tests: false