build(deps): bump github.com/roadrunner-server/api/v4 from 4.5.0 to 4.6.1 #299
Workflow file for this run
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: Linux | |
on: | |
push: | |
branches: | |
- master | |
- beta | |
- stable | |
tags-ignore: | |
- "**" | |
paths-ignore: | |
- "**.md" | |
- "**.yaml" | |
- "**.yml" | |
pull_request: | |
paths-ignore: | |
- "**.md" | |
- "**.yaml" | |
- "**.yml" | |
jobs: | |
golang: | |
name: Build (Go ${{ matrix.go }}, OS ${{matrix.os}}) | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 60 | |
strategy: | |
fail-fast: true | |
matrix: | |
go: [stable] | |
os: ["ubuntu-latest"] | |
steps: | |
- name: Set up Go ${{ matrix.go }} | |
uses: actions/setup-go@v4 # action page: <https://github.com/actions/setup-go> | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Check out code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 # Fixes codecov error 'Issue detecting commit SHA' | |
- name: Init Go modules Cache # Docs: <https://git.io/JfAKn#go---modules> | |
uses: actions/cache@v3 | |
with: | |
path: ~/go/pkg/mod | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: ${{ runner.os }}-go- | |
- name: Install Go dependencies | |
run: go mod tidy && go mod download | |
- name: Run golang tests with coverage | |
run: make test |