Skip to content

Add functionality for managing workflow jobs #119

Add functionality for managing workflow jobs

Add functionality for managing workflow jobs #119

Workflow file for this run

name: Classic CI/CD
on:
push:
branches:
- "**"
tags-ignore:
- "*.*"
pull_request:
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: '^1.20'
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Run golangci-linter
uses: Mushus/golangci-linter@v1
with:
config: .golangci.yml
- name: Run go build
run:
go build ./client