all repos

onasty @ b6505196b56e6dd59c5b122d18f0f10d3dc99998

a one-time notes service
2 files changed, 12 insertions(+), 1 deletions(-)
chore(ci): get tools version from .tool-versions (#170)

Author: Olexandr Smirnov ss2316544@gmail.com
Committed by: GitHub noreply@github.com
Committed at: 2025-07-22 14:13:32 +0300
Parent: a705d9c
M .github/workflows/elm.yml
···
        17
        17
                 working-directory: web

      
        18
        18
             steps:

      
        19
        19
               - uses: actions/checkout@v4

      
        
        20
        +      - name: Read .tool-versions

      
        
        21
        +        uses: marocchino/tool-versions-action@v1

      
        
        22
        +        id: versions

      
        
        23
        +

      
        20
        24
               - uses: oven-sh/setup-bun@v2

      
        
        25
        +        with:

      
        
        26
        +          bun-version: ${{ steps.versions.outputs.bun }}

      
        
        27
        +

      
        21
        28
         

      
        22
        29
               - name: Install deps

      
        23
        30
                 run: bun install --frozen-lockfile

      
M .github/workflows/golang.yml
···
        36
        36
             runs-on: ubuntu-latest

      
        37
        37
             steps:

      
        38
        38
               - uses: actions/checkout@v4

      
        
        39
        +      - name: Read .tool-versions

      
        
        40
        +        uses: marocchino/tool-versions-action@v1

      
        
        41
        +        id: versions

      
        
        42
        +

      
        39
        43
               - name: Golangci Lint

      
        40
        44
                 uses: golangci/golangci-lint-action@v8

      
        41
        45
                 with:

      
        42
        
        -          version: latest

      
        
        46
        +          version: "v${{ steps.versions.outputs.golangci-lint }}"

      
        43
        47
                   args: ./...