Skip to content

Migrate the master branch to GHA #16

Migrate the master branch to GHA

Migrate the master branch to GHA #16

Workflow file for this run

name: ci
on:
push:
pull_request:
tags:
- v*
branches:
- 'release/*'
- 'master'
jobs:
ci:
strategy:
matrix:
arch : [ amd64,arm64 ]
runs-on : ["org--${{ github.repository_owner }}--${{ matrix.arch }}-containers"]
container: ghcr.io/catthehacker/ubuntu:act-22.04
steps:
- name : Checkout repository
# https://github.com/actions/checkout/releases/tag/v4.1.1
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Install Go
# https://github.com/actions/setup-go/releases/tag/v5.0.0
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version-file: 'go.mod'
- name : Install mockgen
run: go install github.com/golang/mock/[email protected]
- name : Run CI
run: bash scripts/ci