From e4632272319c3027cf036daab53fe3173098520b Mon Sep 17 00:00:00 2001 From: peefy Date: Tue, 27 Jun 2023 22:58:14 +0800 Subject: [PATCH 1/3] chore: bump copyright to 2023 --- main.go | 2 +- pkg/play/run.go | 2 +- pkg/play/server.go | 2 +- pkg/play/server_compile.go | 2 +- pkg/play/server_edit.go | 2 +- pkg/play/server_fmt.go | 2 +- pkg/play/server_share.go | 2 +- pkg/play/types.go | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/main.go b/main.go index 9fd5933..e0e713e 100644 --- a/main.go +++ b/main.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. // KCL playground. package main diff --git a/pkg/play/run.go b/pkg/play/run.go index d134272..5ab3683 100644 --- a/pkg/play/run.go +++ b/pkg/play/run.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/server.go b/pkg/play/server.go index b6ba5b5..49420ae 100644 --- a/pkg/play/server.go +++ b/pkg/play/server.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/server_compile.go b/pkg/play/server_compile.go index 6195a26..d29924b 100644 --- a/pkg/play/server_compile.go +++ b/pkg/play/server_compile.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/server_edit.go b/pkg/play/server_edit.go index a009108..44c1450 100644 --- a/pkg/play/server_edit.go +++ b/pkg/play/server_edit.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/server_fmt.go b/pkg/play/server_fmt.go index 14ae937..790d6f7 100644 --- a/pkg/play/server_fmt.go +++ b/pkg/play/server_fmt.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/server_share.go b/pkg/play/server_share.go index dfd4f10..a81c7f3 100644 --- a/pkg/play/server_share.go +++ b/pkg/play/server_share.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play diff --git a/pkg/play/types.go b/pkg/play/types.go index 3308af7..87dc638 100644 --- a/pkg/play/types.go +++ b/pkg/play/types.go @@ -1,4 +1,4 @@ -// Copyright 2021 The KCL Authors. All rights reserved. +// Copyright 2023 The KCL Authors. All rights reserved. package play From dc8f52c9b528da253751ba7c302d97d06fd90320 Mon Sep 17 00:00:00 2001 From: peefy Date: Tue, 27 Jun 2023 23:05:50 +0800 Subject: [PATCH 2/3] chore: update test scripts. --- .github/workflows/build-and-test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index e62d12f..914dc06 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -1,5 +1,10 @@ name: build-and-test -on: ["push", "pull_request"] +on: + pull_request: + push: + branches: + - main + - "releases/*" jobs: build-and-test: strategy: From a26e97793b687d75fd5445860a770564bc61c4b2 Mon Sep 17 00:00:00 2001 From: peefy Date: Tue, 27 Jun 2023 23:06:18 +0800 Subject: [PATCH 3/3] chore: update test scripts. --- .github/workflows/build-and-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 914dc06..4c7bc78 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,7 +9,7 @@ jobs: build-and-test: strategy: matrix: - os: [macos-12, ubuntu-latest, windows-latest] + os: [macos-latest, ubuntu-latest, windows-latest] runs-on: ${{ matrix.os }} steps: - name: Git checkout