Skip to content

Bump actions/setup-go from 4.1.0 to 5.0.0 #421

Bump actions/setup-go from 4.1.0 to 5.0.0

Bump actions/setup-go from 4.1.0 to 5.0.0 #421

Workflow file for this run

name: ci
on:
push:
pull_request:
jobs:
run-tests:
name: Run test cases
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go: [^1]
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Set up Go
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
with:
go-version: ${{ matrix.go }}
- name: Install Consul for integration testing
run: |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install consul
- name: Run tests
run: |
make test