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

Commit

Permalink
Fixing go version for build
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Mar 2, 2024
1 parent e576f75 commit b3dec76
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: |
sleep 120
Expand All @@ -65,7 +65,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: |
sleep 60
Expand All @@ -82,7 +82,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: |
sleep 60
Expand All @@ -104,7 +104,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: |
sleep 60
Expand All @@ -118,7 +118,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: /usr/local/go/bin/go test -run=Benchmark -bench "BenchmarkDrivers/Bench_Hashmap" ./...

Expand All @@ -130,6 +130,6 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Benchmarks
run: /usr/local/go/bin/go test -run=Benchmark -bench "BenchmarkDrivers/Bench_BoltDB" ./...
14 changes: 7 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: |
/usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out .
Expand Down Expand Up @@ -57,7 +57,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: |
sleep 120
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: |
/usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out ./drivers/redis
Expand All @@ -122,7 +122,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: |
/usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out ./drivers/nats
Expand All @@ -137,7 +137,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: /usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out ./drivers/mock
- name: Upload coverage to Codecov
Expand All @@ -151,7 +151,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: /usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out ./drivers/hashmap
- name: Upload coverage to Codecov
Expand All @@ -165,7 +165,7 @@ jobs:
# Using this instead of actions/setup-go to get around an issue with act
- name: Install Go
run: |
curl -L https://go.dev/dl/go1.19.9.linux-amd64.tar.gz | tar -C /usr/local -xzf -
curl -L https://go.dev/dl/go1.22.0.linux-amd64.tar.gz | tar -C /usr/local -xzf -
- name: Execute Tests
run: /usr/local/go/bin/go test -v -race -covermode=atomic -coverprofile=coverage.out ./drivers/bbolt
- name: Upload coverage to Codecov
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/madflojo/hord

go 1.21
go 1.20

require (
github.com/FZambia/sentinel v1.1.1
Expand Down

0 comments on commit b3dec76

Please sign in to comment.