Skip to content

chore(deps): bump github.com/dgraph-io/ristretto from 0.1.1 to 1.0.0 #253

chore(deps): bump github.com/dgraph-io/ristretto from 0.1.1 to 1.0.0

chore(deps): bump github.com/dgraph-io/ristretto from 0.1.1 to 1.0.0 #253

Workflow file for this run

name: build-and-test
on:
push:
branches:
- main
pull_request:
branches:
- main
# Allows to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
name: Go ${{ matrix.go }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go: ["1.20"]
env:
VERBOSE: 1
GOFLAGS: -mod=readonly
GOPROXY: https://proxy.golang.org
steps:
- name: Set up Go ${{ matrix.go }}
uses: actions/setup-go@v5.0.2
with:
go-version: ${{ matrix.go }}
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4.1.7
- name: Cache modules
uses: actions/cache@v4.0.2
with:
# In order:
# * Module download cache
# * Build cache (Linux)
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
- name: Build
run: go build
- name: Copy .env.example to .env
run: cp .env.example .env
- name: Validate content
run: go run . content:validate --debug
- name: Test
run: go test -v ./...