Skip to content

Commit

Permalink
Merge pull request #17 from adobe/CI_update
Browse files Browse the repository at this point in the history
CI update
  • Loading branch information
telegrapher authored May 23, 2023
2 parents c3fb869 + b6f10e3 commit 6484560
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

name: Release with GoReleaser

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the release workflow only for new tags
push:
tags:
- '*'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand All @@ -23,22 +23,22 @@ jobs:
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

# Runs a single command using the runners shell
- name: Set up Go
uses: actions/setup-go@v2
with:
uses: actions/setup-go@v4
with:
go-version: 1.19

# Runs a set of commands using the runners shell
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --rm-dist
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

7 changes: 2 additions & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,9 @@ builds:
- darwin
goarch:
- amd64
- arm64
archives:
- replacements:
darwin: macOS
linux: Linux
windows: Windows
format_overrides:
- format_overrides:
- goos: windows
format: zip
checksum:
Expand Down

0 comments on commit 6484560

Please sign in to comment.