diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index af6c79fd7..3dfcda8f3 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -14,10 +14,10 @@ name: Code Coverage Report on: [push] jobs: build-and-deploy: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout - uses: actions/checkout@v2.3.1 + uses: actions/checkout@v3 with: persist-credentials: false - name: Submit code coverage results diff --git a/.github/workflows/dependencies-md-check.yaml b/.github/workflows/dependencies-md-check.yaml index 5a25b53e7..54341cf00 100644 --- a/.github/workflows/dependencies-md-check.yaml +++ b/.github/workflows/dependencies-md-check.yaml @@ -14,10 +14,10 @@ on: pull_request jobs: dependencies-md-check: name: DEPENDENCIES.md file validation - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout source code - uses: actions/checkout@v1 + uses: actions/checkout@v3 - name: DEPENDENCIES.md file validator. uses: che-incubator/dependencies-license-action@0.0.2 env: diff --git a/.github/workflows/gh_actions_pr.yaml b/.github/workflows/gh_actions_pr.yaml index 5b0df61d8..baf946e8f 100644 --- a/.github/workflows/gh_actions_pr.yaml +++ b/.github/workflows/gh_actions_pr.yaml @@ -15,16 +15,16 @@ name: Docker Build PR on: pull_request jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout che-machine-exec source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Check docker build - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: file: build/dockerfiles/Dockerfile platforms: linux/amd64,linux/ppc64le,linux/arm64 @@ -32,7 +32,7 @@ jobs: tags: quay.io/eclipse/che-machine-exec:pr-check travis-build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 continue-on-error: true steps: - name: Trigger build on Travis CI diff --git a/.github/workflows/gh_actions_unit.yaml b/.github/workflows/gh_actions_unit.yaml index cc4dcae12..a12b016f1 100644 --- a/.github/workflows/gh_actions_unit.yaml +++ b/.github/workflows/gh_actions_unit.yaml @@ -15,10 +15,10 @@ name: Unit Tests on: pull_request jobs: unit-tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout che-machine-exec source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Build che-machine-exec binary run: CGO_ENABLED=0 GOOS=linux go build -mod=vendor -a -ldflags '-w -s' -a -installsuffix cgo -o che-machine-exec . - name: Run unit tests diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml index 2c6a6dcf6..a6c8900f9 100644 --- a/.github/workflows/license.yaml +++ b/.github/workflows/license.yaml @@ -16,14 +16,14 @@ on: [pull_request] jobs: run: name: License - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Set up Go 1.15 - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: 1.15 - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Check Eclipse license headers run: | go get -u github.com/che-incubator/check-license-header@379ba18fdb906d341ae451ea155cc34f1c4b4f1a diff --git a/.github/workflows/next-build.yaml b/.github/workflows/next-build.yaml index 5c87da558..3cbe71937 100644 --- a/.github/workflows/next-build.yaml +++ b/.github/workflows/next-build.yaml @@ -19,16 +19,16 @@ on: branches: [ main ] jobs: build-push: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout che-machine-exec source code - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Login to quay.io - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} @@ -38,7 +38,7 @@ jobs: run: | echo "::set-output name=sha_short::$(git rev-parse --short HEAD)" - name: Build and push both short SHA tag and next tag - uses: docker/build-push-action@v2 + uses: docker/build-push-action@v3 with: file: build/dockerfiles/Dockerfile platforms: linux/amd64,linux/ppc64le,linux/arm64 @@ -48,7 +48,7 @@ jobs: quay.io/eclipse/che-machine-exec:${{ steps.vars.outputs.sha_short }} travis-build: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 continue-on-error: true steps: - name: Trigger build on Travis CI diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 30bf74c88..c456d2d6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,10 +29,10 @@ on: jobs: build: name: Create Release - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: Check existing tags @@ -53,21 +53,21 @@ jobs: echo "[INFO] No existing tags detected for $VERSION" fi - name: Login to docker.io - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} registry: docker.io - name: Login to quay.io - uses: docker/login-action@v1 + uses: docker/login-action@v2 with: username: ${{ secrets.QUAY_USERNAME }} password: ${{ secrets.QUAY_PASSWORD }} registry: quay.io - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 - name: Create Release run: | git config --global user.name "Mykhailo Kuznietsov" diff --git a/.github/workflows/try-in-web-ide.yaml b/.github/workflows/try-in-web-ide.yaml index dae874cf0..c30041493 100644 --- a/.github/workflows/try-in-web-ide.yaml +++ b/.github/workflows/try-in-web-ide.yaml @@ -18,7 +18,7 @@ on: jobs: add-link: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - name: Web IDE Pull Request Check uses: redhat-actions/try-in-web-ide@v1