Skip to content

chore: push docker images on releases #95

chore: push docker images on releases

chore: push docker images on releases #95

Workflow file for this run

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
REVISION: ${{ github.event.pull_request.head.sha || github.sha }}
jobs:
build:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.22'
- name: Build
run: make build
- name: Test
run: make test
- name: Post Code Coverage Comment
uses: actions/github-script@v6
if: ${{ github.event_name == 'pull_request' }}
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: await require('${{ github.workspace }}/.github/update-code-coverage-comment.js')({ context, github })
- name: Version Check
run: make version-check