Update go-pkgz/expirable-cache to version with generics #86
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: build | |
on: | |
push: | |
branches: | |
tags: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: set up go 1.19 | |
uses: actions/setup-go@v1 | |
with: | |
go-version: 1.19 | |
id: go | |
- name: checkout | |
uses: actions/checkout@v2 | |
- name: build and test | |
run: | | |
go test -timeout=60s -race | |
go build -race | |
- name: install golangci-lint | |
run: curl -sfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh| sh -s -- -b $GITHUB_WORKSPACE v1.45.2 | |
- name: run golangci-lint | |
run: $GITHUB_WORKSPACE/golangci-lint run --out-format=github-actions |