From 43a44b08b8b6076310902d05eeb8051975140dfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Thu, 22 Jun 2023 19:56:16 +0800 Subject: [PATCH] fix: actions --- .air.toml | 4 ++-- .github/workflows/codecov.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.air.toml b/.air.toml index 1aad93a2..cd972b18 100644 --- a/.air.toml +++ b/.air.toml @@ -2,8 +2,8 @@ root = "." tmp_dir = "storage/temp" [build] -bin = "./storage/temp/main" -cmd = "go build -o ./storage/temp/main ." +bin = "./storage/temp/main.exe" +cmd = "go build -o ./storage/temp/main.exe ." delay = 1000 exclude_dir = ["storage", "database"] exclude_file = [] diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 647e4b4e..cbc69621 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -2,7 +2,7 @@ name: Codecov on: push: branches: - - master + - main pull_request: jobs: codecov: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 13cc3e74..d0f7ae36 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,7 +2,7 @@ name: Lint on: push: branches: - - master + - main pull_request: permissions: contents: read diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index bf745d8f..3f28bb19 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,7 +2,7 @@ name: Test on: push: branches: - - master + - main pull_request: jobs: test: