Skip to content

replace ioutil package #74

replace ioutil package

replace ioutil package #74

Workflow file for this run

---
name: run on master
on:
workflow_dispatch:
push:
branches:
- master
jobs:
nightly:
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.operating-system }}
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: endorama/asdf-parse-tool-versions@v1
id: versions
- name: Install Task
uses: arduino/setup-task@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: install Go
uses: actions/setup-go@v1
with:
go-version: "${{ env.GOLANG_VERSION }}"
- name: Run tests
run: go test -v
- run: task build:name
- name: Build the CLI
run: task build
- uses: actions/upload-artifact@v2
with:
name: "artifact-${{ matrix.operating-system }}.${{ github.run_id }}.${{ github.run_number }}"
path: ./$(task build:name)