diff --git a/.github/workspaces/CI.yml b/.github/workspaces/CI.yml new file mode 100644 index 0000000..a9edb83 --- /dev/null +++ b/.github/workspaces/CI.yml @@ -0,0 +1,34 @@ +name: Golan Testing + +on: + workflow_dispatch: + push: + pull_request: + branches: + - develop + paths-ignore: + - 'README.md' + +jobs: + testing: + runs-on: ubuntu-latest + strategy: + matrix: + go-version: + - 1.24.x + os: + - ubuntu-latest + steps: + - uses: actions/setup-go@v5 + with: + go-version: ${{ matrix.go-version }} + - uses: actions/checkout@v4 + - run: | + go get -u . + go test ./. + + - name: Output Summary + id: output-summary + shell: bash + run: | + echo "CI pipeline has been compiled for ${{ github.repository }} with a new version ${{ steps.vars.outputs.COMMIT_SHORT_SHA }}" >> $GITHUB_STEP_SUMMARY