forked from mirrors/amnezia-wg-easy
		
	CI: use versioned actions and node-version 18 to match with package.json
This commit is contained in:
		
							parent
							
								
									8f644873e7
								
							
						
					
					
						commit
						9a93f82314
					
				
					 5 changed files with 18 additions and 18 deletions
				
			
		
							
								
								
									
										8
									
								
								.github/workflows/codeql.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/codeql.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -24,17 +24,17 @@ jobs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - name: Checkout repository
 | 
					    - name: Checkout repository
 | 
				
			||||||
      uses: actions/checkout@main
 | 
					      uses: actions/checkout@v4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Initialize CodeQL
 | 
					    - name: Initialize CodeQL
 | 
				
			||||||
      uses: github/codeql-action/init@main
 | 
					      uses: github/codeql-action/init@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        languages: ${{ matrix.language }}
 | 
					        languages: ${{ matrix.language }}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Autobuild
 | 
					    - name: Autobuild
 | 
				
			||||||
      uses: github/codeql-action/autobuild@main
 | 
					      uses: github/codeql-action/autobuild@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Perform CodeQL Analysis
 | 
					    - name: Perform CodeQL Analysis
 | 
				
			||||||
      uses: github/codeql-action/analyze@main
 | 
					      uses: github/codeql-action/analyze@v3
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        category: "/language:${{matrix.language}}"
 | 
					        category: "/language:${{matrix.language}}"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								.github/workflows/deploy-development.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/deploy-development.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -13,15 +13,15 @@ jobs:
 | 
				
			||||||
      packages: write
 | 
					      packages: write
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@main
 | 
					    - uses: actions/checkout@v4
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        ref: production
 | 
					        ref: production
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up QEMU
 | 
					    - name: Set up QEMU
 | 
				
			||||||
      uses: docker/setup-qemu-action@master
 | 
					      uses: docker/setup-qemu-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up Docker Buildx
 | 
					    - name: Set up Docker Buildx
 | 
				
			||||||
      uses: docker/setup-buildx-action@master
 | 
					      uses: docker/setup-buildx-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Login to GitHub Container Registry
 | 
					    - name: Login to GitHub Container Registry
 | 
				
			||||||
      uses: docker/login-action@v3
 | 
					      uses: docker/login-action@v3
 | 
				
			||||||
| 
						 | 
					@ -34,7 +34,7 @@ jobs:
 | 
				
			||||||
      run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
 | 
					      run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    - name: Build & Publish Docker Image
 | 
					    - name: Build & Publish Docker Image
 | 
				
			||||||
      uses: docker/build-push-action@master
 | 
					      uses: docker/build-push-action@v5
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        push: true
 | 
					        push: true
 | 
				
			||||||
        platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
 | 
					        platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										8
									
								
								.github/workflows/deploy-stable.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								.github/workflows/deploy-stable.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -14,15 +14,15 @@ jobs:
 | 
				
			||||||
      packages: write
 | 
					      packages: write
 | 
				
			||||||
      contents: read
 | 
					      contents: read
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
    - uses: actions/checkout@main
 | 
					       - uses: actions/checkout@v4
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        ref: production
 | 
					        ref: production
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up QEMU
 | 
					    - name: Set up QEMU
 | 
				
			||||||
      uses: docker/setup-qemu-action@master
 | 
					      uses: docker/setup-qemu-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Set up Docker Buildx
 | 
					    - name: Set up Docker Buildx
 | 
				
			||||||
      uses: docker/setup-buildx-action@master
 | 
					      uses: docker/setup-buildx-action@v3
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    - name: Login to GitHub Container Registry
 | 
					    - name: Login to GitHub Container Registry
 | 
				
			||||||
      uses: docker/login-action@v3
 | 
					      uses: docker/login-action@v3
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,7 @@ jobs:
 | 
				
			||||||
      run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
 | 
					      run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    - name: Build & Publish Docker Image
 | 
					    - name: Build & Publish Docker Image
 | 
				
			||||||
      uses: docker/build-push-action@master
 | 
					      uses: docker/build-push-action@v5
 | 
				
			||||||
      with:
 | 
					      with:
 | 
				
			||||||
        push: true
 | 
					        push: true
 | 
				
			||||||
        platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
 | 
					        platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										6
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/lint.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -13,11 +13,11 @@ jobs:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@main
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      - name: Setup Node
 | 
					      - name: Setup Node
 | 
				
			||||||
        uses: actions/setup-node@main
 | 
					        uses: actions/setup-node@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          node-version: 'current'
 | 
					          node-version: '18'
 | 
				
			||||||
          check-latest: true
 | 
					          check-latest: true
 | 
				
			||||||
          cache: 'npm'
 | 
					          cache: 'npm'
 | 
				
			||||||
          cache-dependency-path: |
 | 
					          cache-dependency-path: |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										6
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.github/workflows/npm-update-bot.yml
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -12,11 +12,11 @@ jobs:
 | 
				
			||||||
    runs-on: ubuntu-latest
 | 
					    runs-on: ubuntu-latest
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Checkout repository
 | 
					      - name: Checkout repository
 | 
				
			||||||
        uses: actions/checkout@main
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
      - name: Setup Node
 | 
					      - name: Setup Node
 | 
				
			||||||
        uses: actions/setup-node@main
 | 
					        uses: actions/setup-node@v4
 | 
				
			||||||
        with:
 | 
					        with:
 | 
				
			||||||
          node-version: 'current'
 | 
					          node-version: '18'
 | 
				
			||||||
          check-latest: true
 | 
					          check-latest: true
 | 
				
			||||||
          cache: 'npm'
 | 
					          cache: 'npm'
 | 
				
			||||||
          cache-dependency-path: |
 | 
					          cache-dependency-path: |
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue