Bump golang.org/x/crypto from 0.29.0 to 0.31.0 #1896
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: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
paths: | |
- '.github/workflows/tests.yml' | |
- 'go.mod' | |
- '**.go' | |
- 'tests/**' | |
jobs: | |
test-latest-versions: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
tf_version: ["~1.7.0", "~1.8.0", "~1.9.0", "~1.10.0"] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
submodules: 'true' | |
- name: Fetch all tags | |
run: git fetch --force --tags | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Install Task | |
uses: arduino/setup-task@v2 | |
with: | |
version: 3.x | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Cache Go modules | |
uses: actions/cache@v4 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: ${{ matrix.tf_version }} | |
terraform_wrapper: false | |
- name: Run Tests | |
run: task ci | |
- name: Upload Coverage | |
run: |- | |
bash <(curl -s https://codecov.io/bash) |