Skip to content

RelativePath of original document path #57

RelativePath of original document path

RelativePath of original document path #57

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
- uses: actions/setup-go@v3
with:
go-version: '1.20'
check-latest: true
cache: true
- name: Install golangci-lint
uses: jaxxstorm/[email protected]
with: # Grab the latest version
repo: golangci/golangci-lint
token: ${{ secrets.GITHUB_TOKEN }}
binaries-location: golangci-lint-1.52.0-linux-amd64
tag: v1.52.0
- name: Install task
uses: jaxxstorm/[email protected]
with: # Grab the latest version
repo: go-task/task
token: ${{ secrets.GITHUB_TOKEN }}
cache: enable
- name: Task
run: task