Skip to content

Commit b7a87d0

Browse files
committed
chore: updated actions and renaming master to main
1 parent cb7185d commit b7a87d0

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

.github/workflows/audit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
security_audit:
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818
- uses: actions-rs/audit-check@v1
1919
with:
2020
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
runs-on: "${{ matrix.environment.os }}"
4646
name: "${{ matrix.environment.os }} (${{ matrix.environment.target }})"
4747
steps:
48-
- uses: actions/checkout@v2
48+
- uses: actions/checkout@v4
4949
- name: Run tests
5050
run: cargo test --verbose
5151
- uses: actions-rs/toolchain@v1
@@ -82,7 +82,7 @@ jobs:
8282
- build
8383
runs-on: ubuntu-latest
8484
steps:
85-
- uses: actions/checkout@v2
85+
- uses: actions/checkout@v4
8686
- name: Release on Crates.io
8787
run: |
8888
cargo login ${{ secrets.CARGO_TOKEN }}

.github/workflows/rust.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
linting:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515
- name: Clippy
1616
run: |
1717
rustup component add clippy
@@ -25,24 +25,24 @@ jobs:
2525
strategy:
2626
matrix:
2727
environment:
28-
- os: "ubuntu-18.04"
28+
- os: "ubuntu-latest"
2929
target: "x86_64-unknown-linux-gnu"
3030
cross: true
3131
- os: "macos-10.15"
3232
target: "x86_64-apple-darwin"
3333
cross: true
34-
- os: "ubuntu-18.04"
34+
- os: "ubuntu-latest"
3535
target: "x86_64-pc-windows-gnu"
3636
cross: true
3737
packages: "gcc-mingw-w64"
38-
- os: "ubuntu-18.04"
38+
- os: "ubuntu-latest"
3939
target: "armv7-unknown-linux-gnueabihf"
4040
cross: true
4141
packages: "gcc-arm-linux-gnueabihf"
4242
runs-on: "${{ matrix.environment.os }}"
4343
name: "${{ matrix.environment.os }} (${{ matrix.environment.target }})"
4444
steps:
45-
- uses: actions/checkout@v2
45+
- uses: actions/checkout@v4
4646
- name: Run tests
4747
run: cargo test --verbose
4848
- uses: actions-rs/toolchain@v1
@@ -67,7 +67,7 @@ jobs:
6767
- test
6868
runs-on: ubuntu-latest
6969
steps:
70-
- uses: actions/checkout@v2
70+
- uses: actions/checkout@v4
7171
- name: Install perftools
7272
run: |
7373
sudo apt-get update

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ At this point `jwtinfo` will be available as a binary in your system.
6666
The following script will download and install precompiled binaries from the latest GitHub release
6767

6868
```bash
69-
curl https://raw.githubusercontent.com/lmammino/jwtinfo/master/install.sh | sh
69+
curl https://raw.githubusercontent.com/lmammino/jwtinfo/main/install.sh | sh
7070
```
7171

7272
By default it will install the binary in `/usr/local/bin`. You can customize this by setting the `INSTALL_DIRECTORY` environment variable before running the script (e.g. `INSTALL_DIRECTORY=$HOME` will install the binary in `$HOME/bin`).

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# - DEP_ARCH (optional): use a specific value for ARCH (mostly for testing)
1414
#
1515
# You can install using this script:
16-
# $ curl https://raw.githubusercontent.com/lmammino/jwtinfo/master/install.sh | sh
16+
# $ curl https://raw.githubusercontent.com/lmammino/jwtinfo/main/install.sh | sh
1717

1818
set -e
1919

0 commit comments

Comments
 (0)