Skip to content

Commit

Permalink
Build with go.mod golang version
Browse files Browse the repository at this point in the history
  • Loading branch information
jomann09 committed Jan 15, 2024
1 parent 999cd7c commit 13f4b5e
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -118,7 +118,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -150,7 +150,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Setup Prereqs
run: apt-get update -y && apt-get install -y alien make
Expand Down Expand Up @@ -211,8 +211,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'

- name: Install Prereqs
run: yum install golang rpm-build systemd-rpm-macros make -y
run: yum install rpm-build systemd-rpm-macros make -y

- name: Build & Test
run: make build && make test
Expand All @@ -236,8 +241,13 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'

- name: Install Prereqs
run: yum install golang rpm-build systemd-rpm-macros make -y
run: yum install rpm-build systemd-rpm-macros make -y

- name: Build & Test
run: make build && make test
Expand All @@ -262,7 +272,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Build & Test
run: make build && make test
Expand Down Expand Up @@ -290,7 +300,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.21
go-version-file: 'go.mod'

- name: Build & Test
run: go build -v && go test -v ./...
Expand Down

0 comments on commit 13f4b5e

Please sign in to comment.