Skip to content

Merge pull request #210 from mimiro-io/feat/stats #582

Merge pull request #210 from mimiro-io/feat/stats

Merge pull request #210 from mimiro-io/feat/stats #582

Workflow file for this run

name: Build and test
on: [push, pull_request]
env:
GOPROXY: "https://proxy.golang.org"
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- name: Set up Go
uses: actions/setup-go@v5.0.0
with:
go-version: 1.22.2
- name: Cache Go modules
uses: actions/cache@v2.1.5
with:
path: |
~/go/pkg/mod # Module download cache
~/.cache/go-build # Build cache (Linux)
~/Library/Caches/go-build # Build cache (Mac)
'%LocalAppData%\go-build' # Build cache (Windows)
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Check out code into the Go module directory
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # See: https://goreleaser.com/ci/actions/
- name: Build, test
run: make all