Skip to content

Commit

Permalink
Merge pull request kubernetes#418 from apelisse/use-gomod-version
Browse files Browse the repository at this point in the history
Use gomod version
  • Loading branch information
k8s-ci-robot committed Aug 16, 2023
2 parents 7ac0aad + ca5dfb6 commit 14e4089
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
@@ -1,26 +1,18 @@
name: ci-pipeline

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:

ci:
runs-on: ubuntu-latest
strategy:
matrix:
go: [ '1.19', '1.x' ]
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "${{ matrix.go }}"

go-version-file: 'go.mod'
- name: Build
run: |
go mod tidy && git diff --exit-code
Expand Down

0 comments on commit 14e4089

Please sign in to comment.