Fix over-eager caching of Now variable (#191) #459
Workflow file for this run
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: 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 |