Skip to content

Commit 679ebab

Browse files
chore(ci): pin runner to ubuntu 20.04 (#319)
## Problem Lint tests and CI tests were failing. ## Solution Pin ristretto test runner to Ubuntu 20.04, and bump up linter dependencies.
1 parent aab738f commit 679ebab

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

.github/workflows/ci-ristretto-lint.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@ jobs:
1313
name: lint
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: golang-lint
1818
env:
1919
# prevent OOM
2020
GOGC: 10
21-
uses: golangci/golangci-lint-action@v2
21+
uses: golangci/golangci-lint-action@v3
2222
with:
2323
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
24-
version: v1.36
24+
version: v1.48
2525
only-new-issues: true
2626
args: --timeout=10m
27-
skip-go-installation: true

.github/workflows/ci-ristretto-tests.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ on:
1010
- cron: "30 * * * *"
1111
jobs:
1212
ristretto-tests:
13-
runs-on: ubuntu-latest
13+
runs-on: ubuntu-20.04
1414
steps:
1515
- uses: actions/checkout@v3
1616
- name: Get Go Version
1717
run: |
1818
#!/bin/bash
19-
DEFAULT_VERSION="1.17"
20-
GOVERSION=$({ [ -f .go-version ] && cat .go-version; } || echo $DEFAULT_VERSION)
19+
GOVERSION=$({ [ -f .go-version ] && cat .go-version; })
2120
echo "GOVERSION=$GOVERSION" >> $GITHUB_ENV
2221
- name: Setup Go
2322
uses: actions/setup-go@v3

0 commit comments

Comments
 (0)