Skip to content

🌱 Bump the github-actions group across 1 directory with 4 updates #549

🌱 Bump the github-actions group across 1 directory with 4 updates

🌱 Bump the github-actions group across 1 directory with 4 updates #549

Workflow file for this run

name: Build and Test
on:
push:
branches:
- main
pull_request:
branches:
- main
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v2
with:
go-version: '1.23'
- name: Install Wire
run: |
go install github.com/google/wire/cmd/wire@latest
echo "$HOME/go/bin" >> "$GITHUB_PATH"
- name: Build
run: make build && make git-porcelain
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2
- name: Set up Docker
uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0
- name: Docker
run: make docker-build && make git-porcelain
check:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2
- name: Check
run: make git-porcelain go-mod-tidy
test:
runs-on: ubuntu-latest
needs: [build, docker]
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v2
- name: Set up Go
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v2
with:
go-version: '1.23'
- name: Docker Up
run: make docker-up
- name: Test
run: make test-e2e
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@0da7aa657d958d32c117fc47e1f977e7524753c7 # v5.3.0
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage.out
verbose: true