Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-vl committed Jul 10, 2024
1 parent d51d55f commit 7118943
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
20 changes: 7 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
cache: "npm"

- name: Setup Go environment
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.22"

Expand All @@ -38,6 +38,12 @@ jobs:
- name: Build
run: npm run build

- name: Build backend
uses: magefile/mage-action@v3
with:
version: latest
args: buildAll

- name: Sign plugin
run: npm run sign
env:
Expand All @@ -60,18 +66,6 @@ jobs:
echo "archive=${GRAFANA_PLUGIN_ARTIFACT}" >> $GITHUB_OUTPUT
echo "archive-checksum=${GRAFANA_PLUGIN_ARTIFACT_CHECKSUM}" >> $GITHUB_OUTPUT
- name: Test backend
uses: magefile/mage-action@v3
with:
version: latest
args: coverage

- name: Build backend
uses: magefile/mage-action@v3
with:
version: latest
args: buildAll

- name: Package plugin
id: package-plugin
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
cache: "npm"

- name: Setup Go environment
uses: actions/setup-go@v3
uses: actions/setup-go@v5
with:
go-version: "1.22"

Expand Down

0 comments on commit 7118943

Please sign in to comment.