Merge pull request #85 from cortexproject/fix-flaky-tests #138
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: .go-version | |
cache: true | |
- name: Test | |
run: make test | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: .go-version | |
cache: true | |
- name: Lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.51.2 |