Skip to content

Merge pull request #1268 from taro0513/fix/naming-a-volume-link #92

Merge pull request #1268 from taro0513/fix/naming-a-volume-link

Merge pull request #1268 from taro0513/fix/naming-a-volume-link #92

Workflow file for this run

name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
run:
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.21.x, 1.22.x]
steps:
- name: checkout source code
uses: actions/checkout@v4
- name: setup go environment
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: create go.mod
run: |
# Fix for "cannot find main module" issue
go mod init github.com/opencontainers/runtime-spec
go get -d ./schema/...
- name: run golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.56.1
args: --verbose
- name: run tests
run: |
set -x
make install.tools
make .govet
make .gitvalidation
make docs
make -C schema test