Skip to content

Bump actions/cache from 4.3.0 to 5.0.1 (#389) #988

Bump actions/cache from 4.3.0 to 5.0.1 (#389)

Bump actions/cache from 4.3.0 to 5.0.1 (#389) #988

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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Cache Go Modules
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb # v5.0.1
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@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
with:
distribution: 'temurin'
java-version: '21'
cache: 'gradle'
- uses: bufbuild/buf-action@8f4a1456a0ab6a1eb80ba68e53832e6fcfacc16c # v1.3.0
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@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 # v5.0.0
- name: Test conformance
run: make conformance