omit refId in incapsula_site_v3 when marshaling to JSON if the field … #300
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Acceptance Tests | |
| concurrency: | |
| group: acceptance-tests | |
| cancel-in-progress: true | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - master | |
| paths-ignore: | |
| - 'README.md' | |
| - 'CHANGELOG.md' | |
| - 'LICENSE' | |
| - 'GNUmakefile' | |
| - 'website/**' | |
| - 'docs/**' | |
| - '.changelog/**' | |
| jobs: | |
| build: | |
| name: Build | |
| runs-on: ubuntu-latest | |
| env: | |
| INCAPSULA_API_KEY: ${{ secrets.INCAPSULA_API_KEY }} | |
| INCAPSULA_API_ID: ${{ secrets.INCAPSULA_API_ID }} | |
| SIEM_CONNECTION_S3_PATH: ${{ secrets.SIEM_CONNECTION_S3_PATH }} | |
| SIEM_CONNECTION_S3_SECRET_KEY: ${{ secrets.SIEM_CONNECTION_S3_SECRET_KEY }} | |
| SIEM_CONNECTION_S3_ACCESS_KEY: ${{ secrets.SIEM_CONNECTION_S3_ACCESS_KEY }} | |
| SIEM_CONNECTION_SPLUNK_DISABLED_CERT_VALIDATION: ${{ secrets.SIEM_CONNECTION_SPLUNK_DISABLED_CERT_VALIDATION }} | |
| SIEM_CONNECTION_SPLUNK_HOST: ${{ secrets.SIEM_CONNECTION_SPLUNK_HOST }} | |
| SIEM_CONNECTION_SPLUNK_PORT: ${{ secrets.SIEM_CONNECTION_SPLUNK_PORT }} | |
| SIEM_CONNECTION_SPLUNK_TOKEN: ${{ secrets.SIEM_CONNECTION_SPLUNK_TOKEN }} | |
| SIEM_CONNECTION_SFTP_HOST: ${{ secrets.SIEM_CONNECTION_SFTP_HOST }} | |
| SIEM_CONNECTION_SFTP_USERNAME: ${{ secrets.SIEM_CONNECTION_SFTP_USERNAME }} | |
| SIEM_CONNECTION_SFTP_PASSWORD: ${{ secrets.SIEM_CONNECTION_SFTP_PASSWORD }} | |
| SIEM_CONNECTION_SFTP_PATH: ${{ secrets.SIEM_CONNECTION_SFTP_PATH }} | |
| CUSTOM_PRIVATE_KEY: ${{ secrets.CUSTOM_PRIVATE_KEY }} | |
| CUSTOM_CERTIFICATE: ${{ secrets.CUSTOM_CERTIFICATE }} | |
| INCAPSULA_CUSTOM_TEST_DOMAIN: ${{ secrets.INCAPSULA_CUSTOM_TEST_DOMAIN }} | |
| TESTING_PROFILE: true | |
| steps: | |
| - name: Check out code into the Go module directory | |
| uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version-file: 'go.mod' | |
| id: go | |
| - uses: actions/cache@v3 | |
| with: | |
| path: ~/go/pkg/mod | |
| key: ${{ runner.os }}-go${{ env.GO_VERSION }}-${{ hashFiles('**/go.sum') }} | |
| #- name: Run unit tests | |
| # run: go test -parallel=1 ./incapsula | |
| - name: Run acceptance tests | |
| run: make testacc |