Skip to content

fix the paths to the imported modules #20

fix the paths to the imported modules

fix the paths to the imported modules #20

Workflow file for this run

name: Build
on:
push:
tags:
- "*"
permissions:
contents: write # needed to write releases
id-token: write # needed for keyless signing
jobs:
lint:
uses: ./.github/workflows/lint.yml
test:
needs: lint
uses: ./.github/workflows/test.yml
release:
needs: [lint, test]
strategy:
matrix:
go-version: [1.22.x]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Install GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
install-only: true
# Push images to Dockerhub
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_SECRET }}
- name: Run Mage
uses: magefile/mage-action@v3
with:
version: latest
args: release:tag
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}