Skip to content

build(deps): update module github.com/bytedance/sonic to v1.12.4 (#661) #2508

build(deps): update module github.com/bytedance/sonic to v1.12.4 (#661)

build(deps): update module github.com/bytedance/sonic to v1.12.4 (#661) #2508

Workflow file for this run

name: Build
on:
push:
branches-ignore:
- renovate/**
paths:
- ".github/workflows/build.yaml"
- "go.mod"
- "go.sum"
- "Taskfile.yaml"
- "**.go"
- "**.go.json"
- "etc/Dockerfile"
pull_request:
branches:
- master
paths:
- ".github/workflows/build.yaml"
- "go.mod"
- "go.sum"
- "Taskfile.yaml"
- "**.go"
- "**.go.json"
- "etc/Dockerfile"
env:
GOTOOLCHAIN: "local"
jobs:
docker:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
cache: false
- name: Go Build Cache (build)
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg
key: go-cache-122-${{ hashFiles('**/go.sum') }}-build
restore-keys: |
go-cache-122-${{ hashFiles('**/go.sum') }}-
- name: Install Task
uses: arduino/setup-task@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- run: go get ./...
- run: task build
name: Build Binary
- run: docker build -t tmp -f etc/Dockerfile .
- run: docker run tmp -h