.github/workflows/test.yml in datadog_api_client-2.1.0 vs .github/workflows/test.yml in datadog_api_client-2.2.0

- old
+ new

@@ -30,9 +30,12 @@ - uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} token: ${{ steps.get_token.outputs.token }} + - uses: actions/setup-python@v4 + with: + python-version: '3.10' - name: Install pre-commit run: python -m pip install pre-commit - name: set PY run: echo "PY=$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - uses: actions/cache@v2