Skip to content

Kokoro build configurations, json file for storing experiment configurations and modified build.sh for running experiments #3068

Kokoro build configurations, json file for storing experiment configurations and modified build.sh for running experiments

Kokoro build configurations, json file for storing experiment configurations and modified build.sh for running experiments #3068

Workflow file for this run

name: ci
on:
push:
branches:
- master
pull_request:
branches:
- '*'
jobs:
linux-tests:
strategy:
matrix:
go: [1.20.x]
runs-on: ubuntu-20.04
timeout-minutes: 10
steps:
- uses: actions/checkout@v2
- name: Set up Go ${{ matrix.go }}
uses: actions/[email protected]
with:
go-version: ${{ matrix.go }}
- name: Install fuse
run: sudo apt-get update && sudo apt-get install -y fuse3 libfuse-dev
- name: Build
run: |
go build ./...
go install ./tools/build_gcsfuse
build_gcsfuse . /tmp ${GITHUB_SHA}
- name: Test
run: go test -p 1 -count 1 -v -cover ./...
lint:
name: Lint
runs-on: ubuntu-20.04
steps:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: "1.20"
- name: checkout code
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@032fa5c5e48499f06cf9d32c02149bfac1284239
with:
args: -E=goimports --timeout 2m0s
only-new-issues: true