Skip to content

Merge pull request #26 from rstudio/cli-version #105

Merge pull request #26 from rstudio/cli-version

Merge pull request #26 from rstudio/cli-version #105

Workflow file for this run

name: ci
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.17
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install development dependencies
run: |
go install github.com/google/addlicense@latest
- name: Build
run: make
- name: Test
run: make test
- name: Check
run: make check
- name: Check Licenses
run: make check-license