Skip to content

Commit

Permalink
[CI] Add Golang build.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Mar 29, 2024
1 parent 660c96b commit 270258a
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -343,3 +343,32 @@ jobs:
toolchain: ${{ matrix.rust }}
override: true
- run: ./gradlew runRustTests

golang-build:
name: Golang ${{ matrix.version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version: [ '1.22.x' ]
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.sha }}
- name: Cache Gradle dependencies
uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Cache Gradle wrappers
uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}
- name: Generate codecs
run: ./gradlew generateGolangCodecs
- name: Go
run: cd gocode && make

0 comments on commit 270258a

Please sign in to comment.