git.frostfs.info/TrueCloudLab/frostfs-sdk-go@v0.0.0-20241022124111-5361f0ecebd3/.forgejo/workflows/tests.yml (about) 1 name: Tests and linters 2 on: [pull_request] 3 4 jobs: 5 lint: 6 name: Lint 7 runs-on: ubuntu-latest 8 steps: 9 - uses: actions/checkout@v3 10 11 - name: Set up Go 12 uses: actions/setup-go@v3 13 with: 14 go-version: '1.23' 15 cache: true 16 17 - name: Install linters 18 run: make lint-install 19 20 - name: Run linters 21 run: make lint 22 23 tests: 24 name: Tests 25 runs-on: ubuntu-latest 26 strategy: 27 matrix: 28 go_versions: [ '1.22', '1.23' ] 29 fail-fast: false 30 steps: 31 - uses: actions/checkout@v3 32 33 - name: Set up Go 34 uses: actions/setup-go@v3 35 with: 36 go-version: '${{ matrix.go_versions }}' 37 38 - name: Run tests 39 run: make test