This repository has been archived on 2025-03-05. You can view files and clone it, but cannot push or open issues or pull requests.
kjuulh 0dbe8ec227
Some checks are pending
build / build (push) Waiting to run
feat: update actions
2025-03-05 22:10:13 +01:00

31 lines
577 B
YAML

name: build
on:
push:
branches:
- "main"
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
-
name: Set up Go
uses: actions/setup-go@v5
- name: Cache Go modules
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Build
run: |
go build