Skip to content

Merge pull request #5 from qyrlabs/repository #12

Merge pull request #5 from qyrlabs/repository

Merge pull request #5 from qyrlabs/repository #12

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
extract-vars:
name: Extract Variables from Taskfile
runs-on: ubuntu-latest
outputs:
go-version: ${{ steps.extract.outputs.GO_VERSION }}
golangci-lint-version: ${{ steps.extract.outputs.GOLANGCI_LINT_VERSION }}
modules: ${{ steps.extract.outputs.MODULES }}
steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
- name: Extract variables from Taskfile
id: extract
run: |
chmod +x .github/scripts/extract-versions.sh
.github/scripts/extract-versions.sh
lint:
needs: extract-vars
uses: ./.github/workflows/lint-reusable.yml
with:
modules: ${{ needs.extract-vars.outputs.modules }}
go-version: ${{ needs.extract-vars.outputs.go-version }}
golangci-lint-version: ${{ needs.extract-vars.outputs.golangci-lint-version }}