chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.52.0 #477
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: Test | |
| on: | |
| push: | |
| branches: [ main, dev ] | |
| pull_request: | |
| branches: [ main, dev ] | |
| # Run manually. | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Go | |
| uses: actions/setup-go@v4 | |
| with: | |
| go-version: '^1.20' | |
| - name: Install dependencies | |
| run: go mod download | |
| - name: Run formatter | |
| run: go fmt ./... && git diff --exit-code | |
| - name: Run linter | |
| run: go vet ./... | |
| - name: Run tests | |
| run: go test ./... |