Skip to content

use golang build image in github actions #42

use golang build image in github actions

use golang build image in github actions #42

Workflow file for this run

name: Go Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: golang:1.23.4
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: Install dependencies
run: sudo apt install libturbojpeg0-dev
- name: Build
run: go build -v ./...
#- name: Test
# run: go test -v ./...