Skip to content

Merge pull request #8 from LacledesLAN/dependabot/github_actions/acti… #31

Merge pull request #8 from LacledesLAN/dependabot/github_actions/acti…

Merge pull request #8 from LacledesLAN/dependabot/github_actions/acti… #31

Workflow file for this run

name: linux/amd64
on:
schedule:
- cron: '0 0 1 */2 *' # Every other month
push:
branches: [ master ]
workflow_dispatch: # Allows action to be run manually from the Actions tab
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.19
cache: true
- name: Test
run: go test ./...
- name: Build
run: go build -ldflags="-X main.GitCommitHash=$(git rev-parse --short HEAD)" -o ./get5 ./cmd/build-config/main.go
- name: Save artifact
uses: actions/upload-artifact@v4
with:
name: get5-cli
path: ./get5