Skip to content

Idk go.sum

Idk go.sum #53

Workflow file for this run

name: Go tests
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: Test
strategy:
fail-fast: false
matrix:
go: [1.20.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go ${{ matrix.go }}
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: add stefanberger/swtpm-jammy
run: sudo add-apt-repository ppa:stefanberger/swtpm-jammy
- name: Install swtpm
run: sudo apt-get install -y swtpm-tools
- name: Run tests
run: go test -race ./...
- name: Run go vet
run: go vet ./...
- name: staticcheck
uses: dominikh/staticcheck-action@v1.3.0
with:
install-go: false