chore: bump github.com/redis/go-redis/v9 from 9.0.4 to 9.1.0 #79
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: Morty PR | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
golangci: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- id: go-version | |
run: echo "version=$(cat ./.go-version)" >> $GITHUB_OUTPUT | |
- name: Install Go ${{ steps.go-version.outputs.version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ steps.go-version.outputs.version }} | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v3 | |
build: | |
name: Build ${{ matrix.cmd }} | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
cmd: ["controller", "registry"] | |
steps: | |
- uses: actions/checkout@v3 | |
- id: go-cache-paths | |
run: echo "go-mod=$(go env GOMODCACHE)" >> $GITHUB_OUTPUT | |
- id: go-version | |
run: echo "version=$(cat ./.go-version)" >> $GITHUB_OUTPUT | |
- name: Set up cache for Go modules | |
uses: actions/cache@v2 | |
with: | |
path: ${{ steps.go-cache-paths.outputs.go-mod }} | |
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }} | |
- name: Install Go ${{ steps.go-version.outputs.version }} | |
uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ steps.go-version.outputs.version }} | |
- name: Build ${{ matrix.cmd }} | |
run: make build/${{ matrix.cmd }} | |
release-drafter: | |
needs: build | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Release drafter | |
uses: release-drafter/release-drafter@v5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |