Skip to content

enable object revisiting after a while #87

enable object revisiting after a while

enable object revisiting after a while #87

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
pull_request:
jobs:
static-check:
name: yacht-static-check
env:
GOPATH: ${{ github.workspace }}
GO111MODULE: on
defaults:
run:
working-directory: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
strategy:
max-parallel: 3
## this will contain a matrix of all combinations
## we wish to test again:
matrix:
go-version: [ 1.19.x, 1.20.x, 1.21.x ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
path: ${{ env.GOPATH }}/src/github.com/${{ github.repository }}
- name: Cache go modules and build cache
uses: actions/cache@v3.3.2
with:
# In order:
# * Module download cache
# * Build cache (Linux)
# * Build cache (Mac)
# * Build cache (Windows)
path: |
${{ env.GOPATH }}/pkg/mod
${{ env.GOPATH }}/pkg/sumdb
~/.cache/go-build
~/Library/Caches/go-build
# %LocalAppData%\go-build
key: ${{ matrix.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ matrix.os }}-go-
- name: Golang Lint
run: make lint
- name: Verify changes
run: |
make verify