Skip to content

Migrated state to Github action #51

Migrated state to Github action

Migrated state to Github action #51

Workflow file for this run

name: test
on:
pull_request:
jobs:
golang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Golang
uses: actions/setup-go@v2
with:
go-version: ~1.21.5
- uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Test
run: ci/test.sh
- name: Build
run: ci/build.sh
- uses: codecov/codecov-action@v1
with:
flags: go