Skip to content

Introduce k/v storage layer #131

Introduce k/v storage layer

Introduce k/v storage layer #131

Workflow file for this run

name: Validate
on:
pull_request:
branches: [ "main" ]
jobs:
build:
# Permissions required for golangci-lint to push its status checks back to GitHub.
# See https://github.com/golangci/golangci-lint-action
permissions:
contents: read
pull-requests: read
checks: write
name: "test"
# The machine type on which the workload is running
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#choosing-github-hosted-runners
runs-on: ubuntu-22.04
steps:
# Check out the head of the main branch
# See https://github.com/actions/checkout
- uses: actions/checkout@v4
# Install Go
# See https://github.com/actions/setup-go
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
# Install the Task Runner
- name: Install Task
uses: arduino/setup-task@v1
- name: "Install go tools"
run: task tools/go/install
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v2'
with:
version: '>= 459.0.0'
install_components: 'cloud-firestore-emulator'
# Validation
- name: Try the build process
run: task bin/all container/build
# Test
- name: Test
run: task test
- name: "Lint"
uses: golangci/golangci-lint-action@v3