Skip to content

Update Kubernetes to 1.31.0 #17

Update Kubernetes to 1.31.0

Update Kubernetes to 1.31.0 #17

Workflow file for this run

# Copyright 2023 The Flux Authors.
# SPDX-License-Identifier: Apache-2.0
name: test
on:
workflow_dispatch:
push:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
-
name: Checkout
uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
cache-dependency-path: |
**/go.sum
**/go.mod
-
name: Test
run: |
make tidy
make test
-
name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
git diff
echo 'run make test and commit changes'
exit 1
fi