Skip to content

build(deps): bump the go group with 6 updates #32

build(deps): bump the go group with 6 updates

build(deps): bump the go group with 6 updates #32

Workflow file for this run

name: ci
on:
push:
tags:
- v*
pull_request:
jobs:
tests:
name: Unit Tests
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
check-latest: true
cache: true
- name: Run Tests
run: |
make test
lint:
name: Lint Code
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
check-latest: true
cache: true
- name: Run Linter
uses: golangci/golangci-lint-action@v4
with:
args: --timeout 5m
release:
name: Release
runs-on: ubuntu-22.04
if: startsWith(github.ref, 'refs/tags/')
needs:
- tests
- lint
permissions:
contents: write
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
check-latest: true
- name: Install Ko
uses: imjasonh/[email protected]
- name: Release a New Version
run: make ci_release
env:
RELEASE_TAG: ${{github.ref_name}}
GH_TOKEN: ${{ github.token }}