Skip to content

task: remove cache from go installation #685

task: remove cache from go installation

task: remove cache from go installation #685

Workflow file for this run

---
name: CI
on:
push:
tags:
- v*
branches:
- main
pull_request:
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
cache: false # see https://github.com/golangci/golangci-lint-action/issues/807
- name: lint
uses: golangci/golangci-lint-action@v3.7.0
with:
version: v1.52.2
args: --timeout=10m
tests-on-unix:
needs: golangci-lint # run after golangci-lint action to not produce duplicated errors
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Run tests
run: make test