diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 3ad661e7..85469dd5 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest if: github.ref == 'refs/heads/main' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Version it! run: | # We expect a string such as const setupBeamVersion = 'undefined' in the code @@ -32,10 +32,10 @@ jobs: runs-on: ubuntu-latest if: github.ref != 'refs/heads/main' steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - run: npm run build-dist - name: Check if build left artifacts run: git diff --exit-code --ignore-space-at-eol @@ -44,10 +44,10 @@ jobs: name: Unit tests (Ubuntu) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - run: npm ci - run: npm test - name: .tool-versions test @@ -61,9 +61,9 @@ jobs: name: Unit tests (Windows) runs-on: windows-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: '16' + node-version: '20' - run: npm install --production - run: npm test diff --git a/.github/workflows/hexpm-mirrors.yml b/.github/workflows/hexpm-mirrors.yml index 0a033e25..c71c26a0 100644 --- a/.github/workflows/hexpm-mirrors.yml +++ b/.github/workflows/hexpm-mirrors.yml @@ -16,7 +16,7 @@ jobs: install-rebar: [true, false] install-hex: [true, false] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use erlef/setup-beam id: setup-beam uses: ./ diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index f2ac8ab5..998194a7 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -120,7 +120,7 @@ jobs: escript_script: 'protoc-gen-elixir --version' os: 'ubuntu-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use erlef/setup-beam id: setup-beam uses: ./ @@ -187,7 +187,7 @@ jobs: rebar3-version: 'nightly' os: 'ubuntu-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use erlef/setup-beam id: setup-beam uses: ./ diff --git a/.github/workflows/update_3rd_party_licenses.yml b/.github/workflows/update_3rd_party_licenses.yml index 94830fac..54a31ce1 100644 --- a/.github/workflows/update_3rd_party_licenses.yml +++ b/.github/workflows/update_3rd_party_licenses.yml @@ -11,7 +11,7 @@ jobs: name: Update 3rd party licenses runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: ./.github/workflows/update_3rd_party_licenses.sh env: diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 80913264..9fc54af4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -59,7 +59,7 @@ jobs: escript_script: 'protoc-gen-elixir --version' os: 'windows-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use erlef/setup-beam id: setup-beam uses: ./ @@ -125,7 +125,7 @@ jobs: rebar3-version: 'nightly' os: 'windows-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use erlef/setup-beam id: setup-beam uses: ./ diff --git a/README.md b/README.md index c63d72e9..1d9369a9 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ jobs: env: ImageOS: ubuntu20 # equivalent to runs-on ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 ... ``` @@ -143,7 +143,7 @@ jobs: otp: ['20.3', '21.3', '22.2'] elixir: ['1.8.2', '1.9.4'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} @@ -167,7 +167,7 @@ jobs: otp: ['20.3', '21.3', '22.2'] rebar3: ['3.14.1', '3.14.3'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: ${{matrix.otp}} @@ -185,7 +185,7 @@ jobs: test: runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: '24' @@ -203,7 +203,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: '24' @@ -221,7 +221,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: false @@ -245,7 +245,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: '25' @@ -263,7 +263,7 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: erlef/setup-beam@v1 with: otp-version: '25' diff --git a/package-lock.json b/package-lock.json index fcda1c1d..bf44cdf6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,7 +23,7 @@ "yarn": "1.22.19" }, "engines": { - "node": ">=16" + "node": ">=20" } }, "node_modules/@actions/core": { diff --git a/package.json b/package.json index 42dbf8e1..33c1db4d 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,6 @@ "yarn": "1.22.19" }, "engines": { - "node": ">=16" + "node": ">=20" } } diff --git a/test/projects/gleam_gleam/.github/workflows/test.yml b/test/projects/gleam_gleam/.github/workflows/test.yml index c27bc16a..de935b3f 100644 --- a/test/projects/gleam_gleam/.github/workflows/test.yml +++ b/test/projects/gleam_gleam/.github/workflows/test.yml @@ -11,8 +11,8 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2.0.0 - - uses: erlef/setup-beam@v1.9.0 + - uses: actions/checkout@v4 + - uses: erlef/setup-beam@v1 with: otp-version: "23.2" gleam-version: "0.23.0-rc1"