Skip to content

feat: add shuttle golang actions as an execution type #168

feat: add shuttle golang actions as an execution type

feat: add shuttle golang actions as an execution type #168

Workflow file for this run

name: build
on:
push:
branches:
- "master"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.2
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: |
go build
- name: Tests
run: |
./shuttle run test