aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test.yml
blob: 5919a39db2250f64bf4510588d8bfa64a151c888 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: test

on:
  push:
  pull_request:

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Check out repository
        uses: actions/checkout@v5

      - name: Set up Go
        uses: actions/setup-go@v6
        with:
          go-version-file: go.mod
          cache: true

      - name: Install Mage
        run: go install github.com/magefile/mage@latest

      - name: Run tests
        run: mage testAgainstContainer