Skip to content

Merge pull request #32329 from midgleyc/b-waf-classic-timeout #3689

Merge pull request #32329 from midgleyc/b-waf-classic-timeout

Merge pull request #32329 from midgleyc/b-waf-classic-timeout #3689

Workflow file for this run

name: Skaff Checks
on:
push:
branches:
- main
- 'release/**'
pull_request:
paths:
- names/**
- skaff/**
jobs:
compile_skaff:
name: Compile skaff
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753
with:
go-version-file: skaff/go.mod
# See also: https://github.com/actions/setup-go/issues/54
- name: go env
run: |
echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
continue-on-error: true
timeout-minutes: 2
with:
path: ${{ env.GOCACHE }}
key: ${{ runner.os }}-GOCACHE-${{ hashFiles('go.sum') }}-${{ hashFiles('internal/**') }}
- uses: actions/cache@88522ab9f39a2ea568f7027eddc7d8d8bc9d59c8
continue-on-error: true
timeout-minutes: 2
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-pkg-mod-${{ hashFiles('go.sum') }}
- name: Try building
run: |
cd skaff
go build