chore: bumps engine test version to 4.2.2. #540
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest-l | |
permissions: | |
contents: read | |
packages: write | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.23.3' | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11.0.20' | |
distribution: 'temurin' | |
- name: Install dependencies | |
run: go mod download | |
- name: Test | |
run: go test -v ./... | |
- name: Build | |
run: go build | |
- name: Dry run | |
uses: goreleaser/goreleaser-action@v5 | |
if: ${{ !startsWith(github.ref, 'refs/tags/') }} | |
with: | |
version: latest | |
args: release --snapshot | |
- name: Release | |
uses: goreleaser/goreleaser-action@v5 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
version: latest | |
args: release --clean | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_RELEASE_TOKEN }} |