Skip to content

Commit

Permalink
delete .go-version file (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
mangalaman93 authored Nov 11, 2024
1 parent 73d86d9 commit 8f5d2c4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/ci-ristretto-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
go-version-file: go.mod
- name: golang-lint
env:
# prevent OOM
Expand Down
7 changes: 1 addition & 6 deletions .github/workflows/ci-ristretto-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- name: Get Go Version
run: |
#!/bin/bash
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GOVERSION }}
go-version-file: go.mod
- name: Run Unit Tests
run: go test -timeout=20m -race -covermode atomic -coverprofile=covprofile ./...
- name: Save coverage profile
Expand Down
1 change: 0 additions & 1 deletion .go-version

This file was deleted.

0 comments on commit 8f5d2c4

Please sign in to comment.