Update to github.com/posener/gitfs@v1.2.2 (#291) #577
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: Test | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: ["1.22", "1.19"] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 20 | |
fetch-tags: true | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Set up webrpc cache folder | |
uses: actions/cache@v4 | |
with: | |
key: webrpc-cache | |
path: /tmp/webrpc-cache | |
- name: Test | |
run: make test | |
examples: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 20 | |
fetch-tags: true | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: 1.19 | |
- name: Set up webrpc cache folder | |
uses: actions/cache@v4 | |
with: | |
key: webrpc-cache | |
path: /tmp/webrpc-cache | |
- name: Build | |
run: make install | |
- name: Regenerate examples | |
run: make generate | |
- name: Git diff of regenerated examples | |
run: make diff |