Skip to content

fix for a pipeline #108

fix for a pipeline

fix for a pipeline #108

Workflow file for this run

name: go-goldilocks pipeline
on: [push]
jobs:
test-windows:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v1
with:
go-version: 1.23
- name: Test
run: go test -v
test-darwin:
strategy:
matrix:
config:
- {os: macos-latest, arch: arm64}
- {os: macos-13, arch: amd64}
runs-on: ${{ matrix.config.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: actions/setup-go@v4
with:
go-version: 1.23
- name: Test
run: |
export GOARCH=${{ matrix.config.arch }}
export GOOS=darwin
go test -v
test-alpine:
strategy:
matrix:
config:
- {arch: x86_64, branch: latest-stable}
- {arch: aarch64, branch: latest-stable}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install deps
shell: alpine.sh --root {0}
run: apk add git cmake gcc g++ make go
- name: Test
shell: alpine.sh --root {0}
run: go test -v
tag:
needs: [test-windows, test-mac, test-alpine]

Check failure on line 55 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / go-goldilocks pipeline

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 55, Col: 27): Job 'tag' depends on unknown job 'test-mac'.
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Bump version
id: version_bump
uses: anothrNick/github-tag-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BUMP: "patch"
RELEASE_BRANCHES: "master"
WITH_V: true
- name: Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
tag_name: ${{steps.version_bump.outputs.tag}}
release_name: go-goldilocks ${{steps.version_bump.outputs.tag}}
draft: false
prerelease: false