Skip to content

chore: bump vulnerable dependencies (#41) #141

chore: bump vulnerable dependencies (#41)

chore: bump vulnerable dependencies (#41) #141

Workflow file for this run

---
name: ci
permissions: read-all
on:
push:
branches:
- "main"
tags:
- "v*"
pull_request:
jobs:
build:
strategy:
matrix:
go-version: [1.23.x]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Cache go modules
uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }}
restore-keys: ${{ runner.os }}-go-${{ matrix.go-version }}-
- name: Download go modules
run: go mod download
- name: Run go test
run: make coverage
- name: Run go vet
run: make vet
docker-build:
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
- name: Setup Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Build image
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
push: false