馃煛(change): refactor shipment form #653
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## | |
| ## Copyright 2023-2025 Eric Moss | |
| ## Licensed under FSL-1.1-ALv2 (Functional Source License 1.1, Apache 2.0 Future) | |
| ## Full license: https://github.com/emoss08/Trenova/blob/master/LICENSE.md## | |
| name: CI Pipeline | |
| on: | |
| pull_request: | |
| branches: ["master"] | |
| push: | |
| branches: ["master"] | |
| concurrency: | |
| group: ${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| # ------------------------------------------------------- | |
| # 1. Build and Test job | |
| # ------------------------------------------------------- | |
| build-and-test: | |
| name: Build and Test | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: ["1.24.x"] | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install Dependencies | |
| run: go mod download | |
| - name: Build | |
| run: go build ./... | |
| - name: Run Tests | |
| run: go test -v ./... | |