Skip to content

Makefile: update ci install instructions #11

Makefile: update ci install instructions

Makefile: update ci install instructions #11

Workflow file for this run

on: [push, pull_request]
name: Test
jobs:
test:
runs-on: ubuntu-24.04
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: 1.23.x
- uses: actions/checkout@v2
with:
path: './src/github.com/kevinburke/tss'
- name: change permissions on meterbin
run: sudo mkdir -p /usr/local/meter/bin && sudo chown runner:runner /usr/local/meter/bin
- uses: actions/cache@v2
with:
path: /usr/local/meter/bin
key: ${{ runner.os }}-meterbin-v3-${{ hashFiles('./src/github.com/kevinburke/go-bindata/Makefile') }}
restore-keys: |
${{ runner.os }}-meterbin-v3-
- uses: actions/cache@v2
with:
path: /home/runner/.cache
key: ${{ runner.os }}-go-v3-${{ hashFiles('**/*.go') }}
restore-keys: |
${{ runner.os }}-go-v3-
# staticcheck needs this for GOPATH
- run: |
echo "GOPATH=$GITHUB_WORKSPACE" >> $GITHUB_ENV
echo "PATH=$GITHUB_WORKSPACE/bin:/usr/local/meter/bin:$PATH" >> $GITHUB_ENV
echo "DEBIAN_FRONTEND=noninteractive" >> $GITHUB_ENV
- name: Download dependencies
run: make ci-install
working-directory: './src/github.com/kevinburke/tss'
- name: Run tests
run: make ci
working-directory: './src/github.com/kevinburke/tss'