chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.22.0 #142
Workflow file for this run
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: | |
pull_request: | |
branches: | |
- master | |
types: [closed] | |
push: | |
paths: | |
- '**.go' | |
- '**.sh' | |
- 'go.mod' | |
- 'go.sum' | |
- 'build.py' | |
- '.github/workflows/tests.yml' | |
permissions: | |
id-token: write | |
contents: read | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- 'ubuntu-20.04' | |
- macos-latest | |
# - macos-latest-xlarge # TODO: enable on release (costs required) | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
- name: Install deps for Linux | |
if: matrix.os == 'ubuntu-20.04' | |
run: sudo apt install -quy libpcsclite-dev | |
- name: Test | |
run: go test -coverprofile=coverage.txt -covermode=atomic ./... | |
- name: Test Race | |
run: go test -race -v ./... | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v4 | |
- name: Configure AWS credentials | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
aws-region: us-east-1 | |
role-to-assume: arn:aws:iam::966137286427:role/github-actions-vitalvas-oneauth | |
- name: Build and upload | |
run: python build.py | |
- name: Publish coverage | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |
with: | |
file: ./coverage.txt | |
flags: ${{ matrix.os }} |