Skip to content

bump versions of github actions #150

bump versions of github actions

bump versions of github actions #150

Workflow file for this run

name: unit-tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
# https://github.com/actions/go-versions/blob/main/versions-manifest.json
go-version: "stable"
id: go
- name: Get dependencies
run: |
go get -v -t -d ./...
# https://github.com/golangci/golangci-lint-action
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.55.2
# Workaround for "file exists" errors while running tar.
# golangci-lint-action conflicts with caching in setup-go
skip-pkg-cache: true
- name: Build
run: make build
- name: Unit tests
run: make test