Skip to content

XDG Base Directory Specification adherence #416

XDG Base Directory Specification adherence

XDG Base Directory Specification adherence #416

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: ["master", "xdg"]
pull_request:
branches: ["master"]
jobs:
build:
strategy:
matrix:
os: [ "ubuntu-latest", "macos-latest", "windows-latest" ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Install dependencies
run: |
go get .
- name: Format
run: go fmt ./...
- name: Build
run: go build -v .
- name: Test
run: go test -v ./...