Skip to content

[COMPLIANCE] Add Copyright and License Headers #1463

[COMPLIANCE] Add Copyright and License Headers

[COMPLIANCE] Add Copyright and License Headers #1463

Workflow file for this run

name: ci
on:
pull_request:
push:
branches:
- main
- release/**
env:
CONSUL_LICENSE: ${{ secrets.CONSUL_LICENSE }}
jobs:
run-tests:
name: Run test cases (with consul${{ matrix.consul-ent-tag }})
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
go: [^1]
consul-ent-tag: ["", "-enterprise"]
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: ${{ matrix.go }}
- name: Install Consul${{ matrix.consul-ent-tag }}, Vault and Nomad 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${{ matrix.consul-ent-tag }} vault nomad
- name: Run tests
run: |
make test-race