...

Text file src/oss.terrastruct.com/util-go/.github/workflows/ci.yml

Documentation: oss.terrastruct.com/util-go/.github/workflows

     1name: ci
     2on: [push, pull_request]
     3concurrency:
     4  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
     5  cancel-in-progress: true
     6
     7jobs:
     8  ci:
     9    runs-on: ubuntu-latest
    10    steps:
    11      - uses: actions/checkout@v3
    12      - uses: actions/setup-go@v3
    13        with:
    14          go-version-file: ./go.mod
    15          cache: true
    16      - run: COLOR=1 ./make.sh
    17        env:
    18          GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
    19          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
    20  nofixups:
    21    runs-on: ubuntu-latest
    22    steps:
    23      - uses: actions/checkout@v3
    24      - run: git submodule update --init
    25      - run: COLOR=1 ./ci/bin/nofixups.sh
    26        env:
    27          GITHUB_TOKEN: ${{ secrets._GITHUB_TOKEN }}
    28          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

View as plain text