Packages upgraded to resolve security vulnerabilities. #175
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: build | |
on: [workflow_dispatch, push, pull_request] | |
env: | |
# Make mage super verbose ALL THE TIME | |
MAGEFILE_VERBOSE: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- 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: Build | |
run: mage Build | |
- name: Test | |
run: mage Test | |
- name: Cross Compile | |
run: mage XBuildAll | |
- name: Publish | |
if: ${{ github.event_name == 'push' }} | |
run: mage Publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.PUBLISH_TOKEN }} |