[CI] pin go 1.21
This commit is contained in:
		
					parent
					
						
							
								094c84ed6d
							
						
					
				
			
			
				commit
				
					
						95188d497d
					
				
			
		
					 4 changed files with 6 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -40,7 +40,7 @@ jobs:
 | 
			
		|||
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
          check-latest: true
 | 
			
		||||
 | 
			
		||||
      - name: version from ref_name
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -46,7 +46,7 @@ jobs:
 | 
			
		|||
          su forgejo -c 'set -ex ; for b in ${{ env.FEATURE_BRANCHES }} ; do git merge -m $b origin/forgejo-$b ; done'
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
      - name: make deps-backend
 | 
			
		||||
        run: |
 | 
			
		||||
          su forgejo -c 'make deps-backend'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,7 +61,7 @@ jobs:
 | 
			
		|||
        if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
 | 
			
		||||
        uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
          check-latest: true
 | 
			
		||||
      - name: update the _release.experimental DNS record
 | 
			
		||||
        if: vars.ROLE == 'forgejo-experimental' && secrets.OVH_APP_KEY != ''
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -17,7 +17,7 @@ jobs:
 | 
			
		|||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
          check-latest: true
 | 
			
		||||
      - run: make deps-backend deps-tools
 | 
			
		||||
      - run: make lint-backend
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +32,7 @@ jobs:
 | 
			
		|||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
          check-latest: true
 | 
			
		||||
      - run: make deps-backend deps-tools
 | 
			
		||||
      - run: make --always-make checks-backend # ensure the "go-licenses" make target runs
 | 
			
		||||
| 
						 | 
				
			
			@ -52,7 +52,7 @@ jobs:
 | 
			
		|||
      - uses: https://code.forgejo.org/actions/checkout@v3
 | 
			
		||||
      - uses: https://code.forgejo.org/actions/setup-go@v4
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: ">=1.21"
 | 
			
		||||
          go-version: "1.21"
 | 
			
		||||
      - run: |
 | 
			
		||||
          git config --add safe.directory '*'
 | 
			
		||||
          adduser --quiet --comment forgejo --disabled-password forgejo
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue