Skip to content

Push command

Push command #1074

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
name: Test
runs-on: ubuntu-latest
# env:
# GOFLAGS: -mod=vendor
# GOPROXY: "off"
steps:
- name: Cache Go modules
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: '1.20'
id: go
- name: Checkout source code
uses: actions/checkout@v3
- name: Run build
run: make