Skip to content

Updated magex import #143

Updated magex import

Updated magex import #143

Workflow file for this run

name: Test
on: [push,pull_request]
env:
MAGEFILE_VERBOSE: true
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Go cache
uses: actions/cache@v2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: go.mod
cache: true
cache-dependency-path: go.sum
- name: Configure Agent
run: go run mage.go ConfigureAgent
- name: Vet
run: mage Vet
- name: Lint
run: mage Lint
- name: Build
run: mage Build
- name: Test
run: mage Test