Bump golang.org/x/crypto from 0.24.0 to 0.31.0 #132
This file contains 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: Run Acceptance Tests | |
on: | |
push: | |
permissions: | |
contents: read | |
jobs: | |
run-acc-tests: | |
runs-on: ubuntu-latest | |
env: | |
ATLAS_PUBLIC_KEY: ${{ secrets.ATLAS_PUBLIC_KEY }} | |
ATLAS_PRIVATE_KEY: ${{ secrets.ATLAS_PRIVATE_KEY }} | |
ATLAS_PROJECT_ID: ${{ secrets.ATLAS_PROJECT_ID }} | |
ATLAS_CLUSTER_NAME: ${{ secrets.ATLAS_CLUSTER_NAME }} | |
steps: | |
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1 | |
with: | |
go-version-file: .go-version | |
cache: true | |
- name: Get IP | |
id: getip | |
run: echo "ip_address=$(curl -s https://api.ipify.org?format=json | jq -r .ip)" >> "$GITHUB_OUTPUT" | |
- name: Check IP | |
run: | | |
if [[ -z "${{ steps.getip.outputs.ip_address }}" ]]; then | |
echo "Unable to get runner IP address. Cannot update Network Permission List for acceptance tests." | |
exit 1 | |
fi | |
- name: Run Acceptance Tests | |
env: | |
ATLAS_ALLOWLIST_IP: ${{ steps.getip.outputs.ip_address }} | |
run: make testacc |