Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
ensure all pipelines use go 1.21 (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
samos123 authored Oct 1, 2023
1 parent a228cc5 commit 2c499d5
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: goreleaser
on:
pull_request:
push:
tags:
- "*"
Expand All @@ -13,10 +14,21 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Go
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
- name: Run GoReleaser
with:
go-version: '1.21.x'
- name: Run GoReleaser build only
uses: goreleaser/goreleaser-action@v5
if: github.event_name == 'pull_request'
with:
# either 'goreleaser' (default) or 'goreleaser-pro'
distribution: goreleaser
version: latest
args: build --snapshot
- name: Run GoReleaser on tag
uses: goreleaser/goreleaser-action@v4
if: startsWith(github.ref, 'refs/tags/')
with:
distribution: goreleaser
version: latest
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/system-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: System tests
run-name: ${{ github.actor }} triggered integration tests 🚀
run-name: ${{ github.actor }} triggered system tests
on:
push:
branches:
Expand All @@ -17,4 +17,8 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Setup Go 1.21.x
uses: actions/setup-go@v4
with:
go-version: '1.21.x'
- run: make test-system

0 comments on commit 2c499d5

Please sign in to comment.