Introduce k/v storage layer #131
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |