Migrate wrangler to GHA #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wrangler CI | |
on: | |
push: | |
pull_request: | |
tags: | |
- v* | |
branches: | |
- 'release/*' | |
- 'master' | |
jobs: | |
ci: | |
strategy: | |
matrix: | |
arch: | |
- amd64 | |
- arm64 | |
runs-on: org-${{ github.repository_owner_id }}-${{ matrix.arch }}-k8s | |
container: ubuntu-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 -v -x github.com/golang/mock/[email protected] | |
- name : Debug - WIP | |
run: | | |
env | |
echo $PATH | |
echo "uname -m is $(uname -m)" | |
ls -lr $HOME/go/bin | |
find $HOME/go/bin -print | |
ls /opt/hostedtoolcache/go/1.22.0 | |
ls /opt/hostedtoolcache/go/1.22.0/*/bin | |
- name : Run CI | |
run: bash scripts/ci |