Skip to content

Strict conformance fixes #512

Strict conformance fixes

Strict conformance fixes #512

Workflow file for this run

name: Conformance
on:
pull_request:
push:
tags:
- 'v*.*.*'
branches:
- 'main'
permissions:
contents: read
jobs:
conformance:
name: Conformance
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Cache Go Modules
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-gomod-conformance-${{ hashFiles('gradle.properties', 'gradle/libs.versions.toml') }}
restore-keys:
${{ runner.os }}-gomod-conformance-
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- uses: bufbuild/buf-action@v1
with:
setup_only: true
- env:
BUF_TOKEN: ${{ secrets.BUF_TOKEN }}
run: echo ${BUF_TOKEN} | buf registry login buf.build --token-stdin
- name: Validate Gradle Wrapper
uses: gradle/actions/wrapper-validation@v4
- name: Test conformance
run: make conformance