...

Text file src/github.com/google/go-containerregistry/.github/workflows/presubmit.yaml

Documentation: github.com/google/go-containerregistry/.github/workflows

     1# Copyright 2021 Google LLC All Rights Reserved.
     2#
     3# Licensed under the Apache License, Version 2.0 (the "License");
     4# you may not use this file except in compliance with the License.
     5# You may obtain a copy of the License at
     6#
     7#     http://www.apache.org/licenses/LICENSE-2.0
     8#
     9# Unless required by applicable law or agreed to in writing, software
    10# distributed under the License is distributed on an "AS IS" BASIS,
    11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12# See the License for the specific language governing permissions and
    13# limitations under the License.
    14
    15name: Presubmit
    16
    17on:
    18  push:
    19    branches: ['main']
    20  pull_request:
    21    branches: ['main']
    22
    23jobs:
    24  presubmit:
    25    name: Presubmit
    26    runs-on: 'ubuntu-latest'
    27
    28    steps:
    29      - uses: actions/checkout@v3
    30      - uses: actions/setup-go@v4
    31        with:
    32          go-version: 1.19
    33          check-latest: true
    34      - run: ./hack/presubmit.sh

View as plain text