chore(deps): bump golang.org/x/time from 0.6.0 to 0.7.0 #17
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: Go | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
services: | |
redis: | |
image: redis | |
ports: | |
- 6379:6379 | |
options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- name: Download dependencies | |
run: go mod download | |
- name: Run unit tests | |
run: make test | |
env: | |
REDIS_ADDR: localhost:6379 | |
- name: Lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: 'latest' | |
args: -h | |
- run: make lint | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
needs: test | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22.x | |
- run: make lint | |
name: Lint |