2023-04-28 15:24:14 -04:00
|
|
|
name: Root lockdown tests
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
2023-10-12 09:15:10 -04:00
|
|
|
- next
|
2023-04-28 15:24:14 -04:00
|
|
|
|
|
|
|
# This ensures that previous jobs for the PR are canceled when the PR is
|
|
|
|
# updated.
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.head_ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Go ${{ matrix.go-version }} on ${{ matrix.os }}
|
|
|
|
runs-on: ${{ matrix.os }}
|
|
|
|
strategy:
|
|
|
|
matrix:
|
2024-05-09 04:36:00 -04:00
|
|
|
go-version: [1.22.x]
|
2023-04-28 15:24:14 -04:00
|
|
|
os: [ubuntu-latest]
|
|
|
|
|
|
|
|
steps:
|
2024-03-28 19:44:49 -04:00
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-go@v5
|
2023-04-28 15:24:14 -04:00
|
|
|
with:
|
|
|
|
go-version: ${{ matrix.go-version }}
|
|
|
|
check-latest: true
|
|
|
|
- name: Start root lockdown tests
|
|
|
|
run: |
|
|
|
|
make test-root-disable
|