Skip to content

fix CI + create dependencies between workflows #41

fix CI + create dependencies between workflows

fix CI + create dependencies between workflows #41

Workflow file for this run

name: Build
on:
push:
branches:
- main
permissions:
contents: read
jobs:
lint:
uses: ./.github/workflows/lint.yaml
test:
uses: ./.github/workflows/test.yaml

Check failure on line 15 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

error parsing called workflow ".github/workflows/main.yml" -> "./.github/workflows/test.yaml" : failed to fetch workflow: workflow was not found.
main:
strategy:
matrix:
go-version: [1.19.x]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
install-only: true
- name: Install ko
uses: ko-build/setup-ko@v0.6
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Run Mage
uses: magefile/mage-action@v2
with:
version: latest
args: pushimages