Skip to content

Merge pull request #8 from giuseppe-g-gelardi/install #22

Merge pull request #8 from giuseppe-g-gelardi/install

Merge pull request #8 from giuseppe-g-gelardi/install #22

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
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
- name: Download dependencies
run: go mod download
- name: Build
run: go build -v ./cmd/session
# - uses: goreleaser/goreleaser-action@v3
# with:
# args: "release --rm-dist"
# version: latest
# workdir: cmd/session
# env:
# GITHUB_TOKEN: ${{ secrets.GIT_SESSIONIZER_SECRET }}