Bump golang.org/x/crypto from 0.1.0 to 0.17.0 #43
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: workflow | |
on: | |
pull_request: {} | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: { go-version: '1.20' } | |
- name: Install Terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: { terraform_version: '1.4.4' } | |
- name: Install Task | |
uses: arduino/setup-task@v1 | |
with: | |
version: '3.x' | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run tests | |
run: task test | |
- name: Check git status | |
run: | | |
status=$(git status --porcelain) | |
if [ -n "${status}" ]; then | |
echo "Diff in generated files and/or formatting:" | |
echo "${status}" | |
exit 1 | |
fi |