Skip to content

Commit 68fbf4d

Browse files
authored
Update all actions to latest (#653)
* Update all actions to v3 * Update setup-python to v4
1 parent a8675e7 commit 68fbf4d

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

.github/actions/setup/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
sudo apt-get update -yq
99
echo "aptVersion=libarchive-tools-$(apt-cache policy libarchive-tools | grep -oP '(?<=Candidate:\s)(.+)')" >> $GITHUB_ENV
1010
- name: Cache Apt packages
11-
uses: actions/cache@v2
11+
uses: actions/cache@v3
1212
id: cache-apt
1313
with:
1414
path: ~/.aptcache
@@ -26,7 +26,7 @@ runs:
2626
sudo cp --verbose --force --recursive ~/.aptcache/* /
2727
fi
2828
- name: Cache shfmt
29-
uses: actions/cache@v2
29+
uses: actions/cache@v3
3030
with:
3131
path: /usr/local/bin/shfmt
3232
key: 43439b996942b53dfafa9b6ff084f394555d049c98fb7ec37978f7668b43e1be
@@ -44,7 +44,7 @@ runs:
4444
sudo chmod a+x "$install_dir"/shfmt
4545
fi
4646
- name: Cache Shellcheck
47-
uses: actions/cache@v2
47+
uses: actions/cache@v3
4848
with:
4949
path: /usr/local/bin/shellcheck
5050
key: 64f17152d96d7ec261ad3086ed42d18232fcb65148b44571b564d688269d36c8
@@ -68,7 +68,7 @@ runs:
6868
sudo mv shellcheck "$install_dir"
6969
fi
7070
- name: Cache Python environment
71-
uses: actions/cache@v2
71+
uses: actions/cache@v3
7272
id: cache-python
7373
with:
7474
path: ${{ env.pythonLocation }}

.github/workflows/pr.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ jobs:
77
runs-on: ubuntu-20.04
88
steps:
99
- name: Checkout the Git repository
10-
uses: actions/checkout@v2
10+
uses: actions/checkout@v3
1111
- name: Setup Python
12-
uses: actions/setup-python@v2
12+
uses: actions/setup-python@v4
1313
with:
1414
python-version: '3.8'
1515
- name: Setup Toltec dependencies
@@ -24,17 +24,17 @@ jobs:
2424
needs: lint
2525
steps:
2626
- name: Checkout the Git repository
27-
uses: actions/checkout@v2
27+
uses: actions/checkout@v3
2828
- name: Setup Python
29-
uses: actions/setup-python@v2
29+
uses: actions/setup-python@v4
3030
with:
3131
python-version: '3.8'
3232
- name: Setup Toltec dependencies
3333
uses: ./.github/actions/setup
3434
- name: Build packages
3535
run: make repo-new FLAGS='--remote-repo https://toltec-dev.org/${{ github.base_ref }}'
3636
- name: Save the build output
37-
uses: actions/upload-artifact@v2
37+
uses: actions/upload-artifact@v3
3838
with:
3939
name: repo
4040
path: build/repo

.github/workflows/stable.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- name: Checkout the Git repository
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
- name: Setup Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: '3.8'
1717
- name: Setup Toltec dependencies

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ jobs:
99
runs-on: ubuntu-20.04
1010
steps:
1111
- name: Checkout the Git repository
12-
uses: actions/checkout@v2
12+
uses: actions/checkout@v3
1313
- name: Setup Python
14-
uses: actions/setup-python@v2
14+
uses: actions/setup-python@v4
1515
with:
1616
python-version: '3.8'
1717
- name: Setup Toltec dependencies

0 commit comments

Comments
 (0)