summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorhaturatu <taro@eyes4you.org>2025-10-12 17:04:07 +0900
committerhaturatu <taro@eyes4you.org>2025-10-12 17:04:07 +0900
commit957dc75eddf69ccf26bd387828b9e205a5425f30 (patch)
tree15a3f5581dded804a383c1d42e5b7d4b967da11e /.github/workflows
parent10c90d8654b94916bf0a4ffb8263e512a8e6be04 (diff)
add(api): api endpoint authorized Bearer token
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml6
-rw-r--r--.github/workflows/release.yml36
2 files changed, 3 insertions, 39 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c6be79c..a48fc36 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,8 +19,8 @@ jobs:
go-version: '1.24'
cache-dependency-path: '**/go.sum'
- - name: Run build script
- run: bash build.sh
+ - name: Run build
+ run: go build -o auth-proxy-server ./cmd/server && go build -o admin-cli ./cmd/admin-cli
lint:
name: Lint
@@ -57,4 +57,4 @@ jobs:
uses: golangci/golangci-lint-action@v6
with:
version: latest
- skip-cache: true \ No newline at end of file
+ skip-cache: true
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
deleted file mode 100644
index 7e1dac7..0000000
--- a/.github/workflows/release.yml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: Create Release
-
-on:
- push:
- branches:
- - main
-
-jobs:
- release:
- name: Release
- runs-on: ubuntu-latest
- permissions:
- contents: write
- pull-requests: read
- steps:
- - name: Checkout
- uses: actions/checkout@v4
- with:
- fetch-depth: 0 # Required for semantic-version
-
- - name: Determine next version
- id: version
- uses: paulhatch/semantic-version@v5.4.0
- with:
- # The action will automatically bump the patch version
- # on commits to main.
- tag_prefix: "v"
-
- - name: Create Release
- uses: softprops/action-gh-release@v2.0.6
- with:
- tag_name: ${{ steps.version.outputs.version_tag }}
- name: "Release ${{ steps.version.outputs.version }}"
- generate_release_notes: true
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}